summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ar/help-message.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-ar/help-message.test')
-rw-r--r--llvm/test/tools/llvm-ar/help-message.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-ar/help-message.test b/llvm/test/tools/llvm-ar/help-message.test
index ed17667291d..8de26d525b0 100644
--- a/llvm/test/tools/llvm-ar/help-message.test
+++ b/llvm/test/tools/llvm-ar/help-message.test
@@ -1,5 +1,10 @@
+## 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
OpenPOWER on IntegriCloud