
Other tools take their tool name from argv[0] for use in output messages. This change makes llvm-strings consistent with other tools rather than using a hard coded value. Differential Revision: https://reviews.llvm.org/D116604
12 lines
354 B
Plaintext
12 lines
354 B
Plaintext
## Show that help text is printed correctly when requested.
|
|
|
|
RUN: llvm-strings -h | FileCheck %s
|
|
RUN: llvm-strings --help | FileCheck %s
|
|
|
|
CHECK: OVERVIEW: llvm string dumper
|
|
CHECK: USAGE: {{.*}}llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
|
|
CHECK: OPTIONS:
|
|
CHECK: --all
|
|
CHECK: -a
|
|
CHECK: Pass @FILE as argument to read options from FILE.
|