-
Notifications
You must be signed in to change notification settings - Fork 1
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
Split usage_message and help_message #240
Comments
cURL run without arguments prints only a message calling for
With an invalid option, it prints an error message and a suggestion to use
Only with explicit
|
Wget, on the other hand, prints usage even in case of invalid arguments. In wget’s case, this includes no arguments too. It doesn’t print the full help message though.
To get the help message, it is necessary to explicitly provide the
|
I think we can go either way and I slightly more prefer the Wget one, because the usage message is concise and still useful. The full help message, on the other hand, may be too long for the error to be clearly visible. |
We'd like to split output to user if he invokes full content of help content with help option
-h/--help
and message when user misused the the command onigumo with invalid usage. Breifly said we want to apply same approach ascurl
orwget
does.The text was updated successfully, but these errors were encountered: