Before, OptTable::PrintHelp append "[options] <inputs>" to its parameter Help. It is more flexible to change its semantic to Usage and let user customize the usage line.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Since no tests needed updating I guess we not testing much about the output of --help? Should we add some tests?
Comment Actions
Please avoid llvm::formatv because StringRef and Twine work fine as well. I don't expect that the readers of the code memorizes this Python-style format string.