[PATCH] D114538: Have yaml2obj describe all options in --help
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 07:45:15 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf3bfe1b41876: Have yaml2obj describe all options in --help (authored by probinson).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114538/new/
https://reviews.llvm.org/D114538
Files:
llvm/tools/yaml2obj/yaml2obj.cpp
Index: llvm/tools/yaml2obj/yaml2obj.cpp
===================================================================
--- llvm/tools/yaml2obj/yaml2obj.cpp
+++ llvm/tools/yaml2obj/yaml2obj.cpp
@@ -37,7 +37,8 @@
cl::list<std::string>
D("D", cl::Prefix,
cl::desc("Defined the specified macros to their specified "
- "definition. The syntax is <macro>=<definition>"));
+ "definition. The syntax is <macro>=<definition>"),
+ cl::cat(Cat));
cl::opt<unsigned>
DocNum("docnum", cl::init(1),
@@ -47,7 +48,8 @@
static cl::opt<uint64_t> MaxSize(
"max-size", cl::init(10 * 1024 * 1024),
cl::desc(
- "Sets the maximum allowed output size (0 means no limit) [ELF only]"));
+ "Sets the maximum allowed output size (0 means no limit) [ELF only]"),
+ cl::cat(Cat));
cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"),
cl::value_desc("filename"), cl::init("-"),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114538.389498.patch
Type: text/x-patch
Size: 974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211124/9c6cacc3/attachment.bin>
More information about the llvm-commits
mailing list