blob: d5d4ca80a4f44391d3a81e1327f658a9cffb01c5 [file] [log] [blame]
James Hendersonf23ce122019-08-12 11:36:11 +00001## Show that help text is printed correctly when requested.
2
3RUN: llvm-strings -h | FileCheck %s --check-prefixes=CHECK,CATEG
4RUN: llvm-strings --help | FileCheck %s --check-prefixes=CHECK,CATEG
5RUN: llvm-strings --help-list \
6RUN: | FileCheck %s --check-prefixes=CHECK,LIST
James Henderson9485b262019-06-21 11:49:20 +00007
8CHECK: OVERVIEW: llvm string dumper
9CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
10CHECK: OPTIONS:
James Hendersonf23ce122019-08-12 11:36:11 +000011CATEG: General options:
12LIST-NOT: General options:
13CATEG: Generic Options:
14LIST-NOT: Generic Options:
James Henderson9485b262019-06-21 11:49:20 +000015CHECK: @FILE