diff options
author | Sam Clegg <sbc@chromium.org> | 2020-02-05 23:47:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 23:47:19 -0800 |
commit | 417a5be8678b22296c2dfa7e12f87a577225d776 (patch) | |
tree | be638a326a995cb341c2add27dc607a902530fd3 /.github | |
parent | c109e4fc87a435e49f3ccebb3eaafb5c5a508c56 (diff) | |
download | wabt-417a5be8678b22296c2dfa7e12f87a577225d776.tar.gz wabt-417a5be8678b22296c2dfa7e12f87a577225d776.tar.bz2 wabt-417a5be8678b22296c2dfa7e12f87a577225d776.zip |
Improve help/usage message on invalid arguments (#1328)
Don't print the full help message unless we actually ask for it,
but instead suggest `--help` as an option.
Also, print the program name before the error string.
Both these things seem match the GNU utilities I'm used to and I kind
like not seeing and entire screen of help text when I forget an
argument.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions