James Henderson | f23ce12 | 2019-08-12 11:36:11 +0000 | [diff] [blame^] | 1 | ## Show that help text is printed correctly when requested. |
| 2 | |
| 3 | RUN: llvm-strings -h | FileCheck %s --check-prefixes=CHECK,CATEG |
| 4 | RUN: llvm-strings --help | FileCheck %s --check-prefixes=CHECK,CATEG |
| 5 | RUN: llvm-strings --help-list \ |
| 6 | RUN: | FileCheck %s --check-prefixes=CHECK,LIST |
James Henderson | 9485b26 | 2019-06-21 11:49:20 +0000 | [diff] [blame] | 7 | |
| 8 | CHECK: OVERVIEW: llvm string dumper |
| 9 | CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}} |
| 10 | CHECK: OPTIONS: |
James Henderson | f23ce12 | 2019-08-12 11:36:11 +0000 | [diff] [blame^] | 11 | CATEG: General options: |
| 12 | LIST-NOT: General options: |
| 13 | CATEG: Generic Options: |
| 14 | LIST-NOT: Generic Options: |
James Henderson | 9485b26 | 2019-06-21 11:49:20 +0000 | [diff] [blame] | 15 | CHECK: @FILE |