llvm-project/llvm/test/tools/llvm-ar/help-message.test

12 lines
347 B
Plaintext

## Show that the help message for llvm-ar can be printed with either the long
## flag -help or with the h modifier.
# RUN: llvm-ar h | FileCheck %s
# RUN: llvm-ar xh | FileCheck %s
# RUN: llvm-ar -h | FileCheck %s
# RUN: llvm-ar -xh | FileCheck %s
# RUN: llvm-ar -help | FileCheck %s
# RUN: llvm-ar --help | FileCheck %s
# CHECK: USAGE: llvm-ar