Skip to content

multicall & nested commands help - unwanted parent command name concatenation #3695

Answered by epage
RustyJoeM asked this question in Q&A
Discussion options

You must be logged in to vote

#1431 is the issue for display names without hyphens. At the moment, we are looking at resolving that by just allowing users to override the display name for each subcommand. Until clap v4, this will require a help_template to use. With v4, it will be the default.

I also wonder about the utility of showing the name in the help. I think it fits best when also showing the version but when that isn't shown, it seems a bit redundant. We can't conditionalize that yet though users can provide their own template. Also, in some cases, people would want only the top-level command shown while in others also the subcommand.

#1334 might also be of interest in some subcommands.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@epage
Comment options

epage May 5, 2022
Maintainer

Answer selected by RustyJoeM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants