1## Show that the help message for llvm-ranlib can be printed with either the
2## long flag -help.
3
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
10
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
15
16# HELP: USAGE: llvm-ranlib
17# VERSION: version
18