You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing required options [bar, foo]
Usage: app -o=OUT_FILE IN_FILE
IN_FILE The input file
-o= OUT_FILE The output file
As you can see there are little cues for an user to link the variable names used in the exception text to the usage message.
It would be better to use the paramLabel string, if available, or, in the case of options, one of the names strings and to use the variable name as fallback.
The text was updated successfully, but these errors were encountered:
Consider the following, purposely atypical, example:
When launched without arguments produces:
As you can see there are little cues for an user to link the variable names used in the exception text to the usage message.
It would be better to use the
paramLabel
string, if available, or, in the case of options, one of thenames
strings and to use the variable name as fallback.The text was updated successfully, but these errors were encountered: