[llvm] [readtapi] Use OptParser.td for options (PR #72183)

Juergen Ributzka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 14:41:34 PST 2023


================
@@ -0,0 +1,7 @@
+; RUN: llvm-readtapi --help 2>&1 | FileCheck %s 
+; RUN: llvm-readtapi -help 2>&1 | FileCheck %s 
+
+CHECK: OVERVIEW: LLVM TAPI file reader and manipulator
+CHECK: USAGE: llvm-readtapi [options] <inputs>
+CHECK: OPTIONS:
+CHECK:   -help    display this help
----------------
ributzka wrote:

Does it also emit help for the compare option?

https://github.com/llvm/llvm-project/pull/72183


More information about the llvm-commits mailing list