[PATCH] D49318: Give llvm-lib rudimentary help output.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 13 13:21:29 PDT 2018
thakis added inline comments.
================
Comment at: lib/ToolDrivers/llvm-lib/LibDriver.cpp:126
+ if (Args.hasArg(OPT_help)) {
+ Table.PrintHelp(outs(), ArgsArr[0], "LLVM Lib");
+ return 0;
----------------
If this is invoked via `bin/lld-link /lib /?` then the output is
```
OVERVIEW: LLVM Lib
USAGE: /lib [options] <inputs>
```
which is imho ok.
https://reviews.llvm.org/D49318
More information about the llvm-commits
mailing list