Skip to content

Is there any a way to make ./app --help the default behavior when there's no argument passed? #219

Answered by pacak
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for making/maintaining this library.

Thank you for the kind words :)

I wonder if we could invoke the program without arguments and let it show us the help message by default, the same if you pass --help to the program.

Not in the current version, but it might change in the future given enough demand. For now you can do something like this to achieve the same results:

#186

Replies: 2 comments 1 reply

Comment options

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

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #218 on June 13, 2023 10:25.