[PATCH] D83704: [llvm-readobj] Print help when executed with no input files
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 16:08:15 PDT 2020
sbc100 added a comment.
In D83704#2148210 <https://reviews.llvm.org/D83704#2148210>, @jyknight wrote:
> FWIW, it rather bugs me when tools print their entire (long) help upon command-line syntax error. Simply printing an error is generally better. (E.g. "error: no input files specified.")
+1 to not printing full help unless it is explicitly asked for.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83704/new/
https://reviews.llvm.org/D83704
More information about the llvm-commits
mailing list