Skip to content

Can picocli support a short (synopsis) description and a longer detailed description for a subcommand. #2356

Answered by remkop
pford19 asked this question in Q&A
Discussion options

You must be logged in to vote

From memory: I believe that if you set help=true (instead of usageHelp = true) on your --long-help option, the command line does not need to be valid, but it won't short-circuit and your command will be invoked.
This should give you the chance to print a custom help message.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pford19
Comment options

@pford19
Comment options

@pford19
Comment options

@remkop
Comment options

Answer selected by pford19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question ❔ theme: usagehelp An issue or change related to the usage help message
2 participants