1 # RUN: llvm-objdump -help-hidden %t | FileCheck --check-prefix=CHECK-OBJDUMP %s
2 # RUN: llvm-readobj -help-hidden %t | FileCheck --check-prefix=CHECK-READOBJ %s
3 # RUN: llvm-tblgen -help-hidden %t | FileCheck --check-prefix=CHECK-TBLGEN %s
4 # RUN: llvm-opt-report -help-hidden %t | FileCheck --check-prefix=CHECK-OPT-RPT %s
5 # RUN: llvm-dwarfdump -help-hidden %t | FileCheck --check-prefix=CHECK-DWARF %s
6 # RUN: llvm-dwarfdump -h %t | FileCheck --check-prefix=CHECK-DWARF-H %s
9 # CHECK-OBJDUMP: -h - Alias for --section-headers
10 # CHECK-READOBJ: -h - Alias for --file-headers
11 # CHECK-TBLGEN: -h - Alias for -help
12 # CHECK-OPT-RPT: -h - Alias for -help
13 # CHECK-DWARF: -h - Alias for -help
15 # llvm-dwarfdump declares `-h` option and prints special help in that case,
16 # which is weird, but makes for a good test, i.e., shows the default `-h`
18 # CHECK-DWARF-H-NOT: -help-list - Display list of available options (-help-list-hidden for more)