Skip to content

How do I remove the <> And what's in it #5319

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

You must be logged in to vote

So you want an argument to take a value but not show that it takes a value in the help?

From my experience, that goes against all common help conventions and, in my opinion, would be confusing to users / user hostile. Considering we are trying to make things easy to have a "high quality" CLI and we have to balance user requests for ideas off the beaten path with API bloat, binary size, and build times, this is not something we are going to support natively. If needed, you can use override_help to provide your own help string with the formatting you want. We are exploring generalizing our auto-help logic which might allow you to create this as you want in a reusable package.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@jhesqqq
Comment options

@epage
Comment options

@jhesqqq
Comment options

@epage
Comment options

Answer selected by jhesqqq
@jhesqqq
Comment options

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