Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ValidArgs on help #576

Closed
dgrr opened this issue Nov 10, 2017 · 3 comments · May be fixed by #842
Closed

Missing ValidArgs on help #576

dgrr opened this issue Nov 10, 2017 · 3 comments · May be fixed by #842
Labels
area/lib Methods and functions that exist in the cobra library and consumed by users kind/feature A feature request for cobra; new or enhanced behavior

Comments

@dgrr
Copy link

dgrr commented Nov 10, 2017

If I describe ValidArgs in a command when I execute -h flag in some command cobra don't show ValidArgs in help print

@n10v n10v added area/lib Methods and functions that exist in the cobra library and consumed by users kind/feature A feature request for cobra; new or enhanced behavior labels Nov 10, 2017
@n10v n10v added this to the 2.0.0 milestone Nov 10, 2017
@dgrr
Copy link
Author

dgrr commented Nov 10, 2017

Solved #577

@dgrr dgrr closed this as completed Jan 14, 2018
@n10v
Copy link
Collaborator

n10v commented Jan 15, 2018

It's not solved, but it would be great to have it in cobra. I reopen it.

@n10v n10v reopened this Jan 15, 2018
hilary pushed a commit to hilary/cobra that referenced this issue Oct 22, 2019
@github-actions
Copy link

This issue is being marked as stale due to a long period of inactivity

@jharshman jharshman removed this from the 2.0.0 milestone Oct 14, 2020
@github-actions github-actions bot closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/lib Methods and functions that exist in the cobra library and consumed by users kind/feature A feature request for cobra; new or enhanced behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants