We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the very simple sample:
data Sample = Sample { inputFiles :: [FilePath] } deriving Show sample = Sample <$> some (strArgument (metavar "FILES...")) main = execParser (info sample fullDesc) >>= print
it would be grate to easily specify error msg for 'some' to get msg like:
$ ./sample sample: no input files Usage: sample FILES...
instead of
$ ./sample Usage: sample FILES...
The text was updated successfully, but these errors were encountered:
Pull #139 add descriptions for what is missing when parsing. You're case becomes: Missing: FILES... Usage: sample FILES...
Sorry, something went wrong.
I'm satisfied that this is fixed now
No branches or pull requests
In the very simple sample:
it would be grate to easily specify error msg for 'some' to get msg like:
instead of
The text was updated successfully, but these errors were encountered: