aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-07-06 00:27:37 +0300
committerMartin Storsjö <martin@martin.st>2023-07-07 23:32:28 +0300
commitbab6902eba55026a829d232629f99ac276936ef0 (patch)
tree167cf0239943c804c73c33718953c5470236e8bb /llvm/tools/llvm-rc
parentf105c1dc58eee3e0125587daa3898282daa415b3 (diff)
downloadllvm-bab6902eba55026a829d232629f99ac276936ef0.zip
llvm-bab6902eba55026a829d232629f99ac276936ef0.tar.gz
llvm-bab6902eba55026a829d232629f99ac276936ef0.tar.bz2
[llvm-rc] Improve help printouts
This more clearly identifies the tool as llvm-rc. This should hopefully allow Meson to check for parts of these strings in the output of "$CMD /?" when detecting the kind of resource compiler tool, to allow Meson to recognize llvm-rc. Differential Revision: https://reviews.llvm.org/D154545
Diffstat (limited to 'llvm/tools/llvm-rc')
-rw-r--r--llvm/tools/llvm-rc/llvm-rc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-rc/llvm-rc.cpp b/llvm/tools/llvm-rc/llvm-rc.cpp
index d964321..a476a65 100644
--- a/llvm/tools/llvm-rc/llvm-rc.cpp
+++ b/llvm/tools/llvm-rc/llvm-rc.cpp
@@ -521,7 +521,8 @@ RcOptions parseRcOptions(ArrayRef<const char *> ArgsArr,
// The tool prints nothing when invoked with no command-line arguments.
if (InputArgs.hasArg(OPT_help)) {
- T.printHelp(outs(), "rc [options] file...", "Resource Converter", false);
+ T.printHelp(outs(), "llvm-rc [options] file...", "LLVM Resource Converter",
+ false);
exit(0);
}