1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools/llvm-ranlib/help-message.test
Sam Clegg 0c3847c076 llvm-ranlib/nm: Don't print usage message except for usage errors
Also, fix a bug in ranlib where it didn't correctly detect being run
without any argument and would try to operate on the empty string.

Differential Revision: https://reviews.llvm.org/D70021
2019-11-08 15:17:07 -08:00

9 lines
245 B
Plaintext

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