gbreynoo b30a18f445 [llvm-strings] Remove use of hard coded executable name
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
2022-01-05 14:41:49 +00:00

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.