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
Currently, when a user passes an unidentified argument, like app --badargument, the ShowAppHelp function is called, which uses the AppHelpTemplate.
This behavior is fine, but, I think showing the entire help might not always be nice idea. Like git only shows the common usage when a bad argument is passed.
So, it'll be better if there were a separate IncorrectUsageTemplate which will offer greater flexibility.
The text was updated successfully, but these errors were encountered:
Currently, when a user passes an unidentified argument, like
app --badargument
, theShowAppHelp
function is called, which uses theAppHelpTemplate
.This behavior is fine, but, I think showing the entire help might not always be nice idea. Like
git
only shows the common usage when a bad argument is passed.So, it'll be better if there were a separate
IncorrectUsageTemplate
which will offer greater flexibility.The text was updated successfully, but these errors were encountered: