summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-strings/help.test
blob: d5d4ca80a4f44391d3a81e1327f658a9cffb01c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Show that help text is printed correctly when requested.

RUN: llvm-strings -h | FileCheck %s --check-prefixes=CHECK,CATEG
RUN: llvm-strings --help | FileCheck %s --check-prefixes=CHECK,CATEG
RUN: llvm-strings --help-list \
RUN:   | FileCheck %s --check-prefixes=CHECK,LIST

CHECK: OVERVIEW: llvm string dumper
CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
CHECK: OPTIONS:
CATEG:    General options:
LIST-NOT: General options:
CATEG:    Generic Options:
LIST-NOT: Generic Options:
CHECK: @FILE
OpenPOWER on IntegriCloud