• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## 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
7
8CHECK: OVERVIEW: llvm string dumper
9CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
10CHECK: OPTIONS:
11CATEG:    General options:
12LIST-NOT: General options:
13CATEG:    Generic Options:
14LIST-NOT: Generic Options:
15CHECK: @FILE
16