mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
753019aa7b
Summary: Also update the help modifier (h) so that it works as a modifier and not just as a standalone `h`. For example, `llvm-ar h` prints the help message, but `llvm-ar xh` currently prints `unknown option h`. Reviewers: MaskRay, gbreynoo Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69007 llvm-svn: 375028
12 lines
347 B
Plaintext
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
|