1 ## Show that help text is printed correctly when requested.
3 RUN: llvm-size -h | FileCheck %s --check-prefixes=CHECK,CATEG
4 RUN: llvm-size --help | FileCheck %s --check-prefixes=CHECK,CATEG
5 RUN: llvm-size --help-list \
6 RUN: | FileCheck %s --check-prefixes=CHECK,LIST
8 CHECK: OVERVIEW: llvm object size dumper
9 CHECK: USAGE: llvm-size{{(.exe)?}} [options] <input files>{{$}}
11 CATEG: Generic Options:
12 LIST-NOT: Generic Options:
13 CATEG: llvm-size Options:
14 LIST-NOT: llvm-size Options: