1 ## Show that the help message for llvm-ranlib can be printed with either the
4 # RUN: llvm-ranlib -h | FileCheck %s --check-prefix=HELP
5 # RUN: llvm-ranlib -help | FileCheck %s --check-prefix=HELP
6 # RUN: llvm-ranlib --help | FileCheck %s --check-prefix=HELP
7 # RUN: llvm-ranlib --version | FileCheck %s --check-prefix=VERSION
8 # RUN: llvm-ranlib -version | FileCheck %s --check-prefix=VERSION
9 # RUN: llvm-ranlib -v | FileCheck %s --check-prefix=VERSION
11 ## Also check combined options (first -h/-v flag wins)
12 # RUN: llvm-ranlib -Dh | FileCheck %s --check-prefix=HELP
13 # RUN: llvm-ranlib -Dvh | FileCheck %s --check-prefix=VERSION
14 # RUN: llvm-ranlib -Dhv | FileCheck %s --check-prefix=HELP
16 # HELP: USAGE: llvm-ranlib