[llvm] [readtapi] Add Extract & Remove architecture functionality (PR #72657)
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 17 15:30:27 PST 2023
================
@@ -151,8 +171,10 @@ int main(int Argc, char **Argv) {
exit(1);
});
if (Args.hasArg(OPT_help)) {
- Tbl.printHelp(outs(), "llvm-readtapi [options] <inputs>",
- "LLVM TAPI file reader and manipulator");
+ Tbl.printHelp(
+ outs(),
+ "llvm-readtapi [options]* [-arch <arch>]* <inputs> [-o <output>]*",
----------------
cyndyishida wrote:
I guess I used * to denote 0 or more flags, in the case for output, no -o means write to stdout. But yes you're right, I don't need one for [options].
https://github.com/llvm/llvm-project/pull/72657
More information about the llvm-commits
mailing list