diff --git a/llvm/test/tools/llvm-rc/helpmsg.test b/llvm/test/tools/llvm-rc/helpmsg.test --- a/llvm/test/tools/llvm-rc/helpmsg.test +++ b/llvm/test/tools/llvm-rc/helpmsg.test @@ -3,8 +3,8 @@ ; RUN: diff %t1 %t2 ; RUN: FileCheck -input-file=%t1 %s -; CHECK: OVERVIEW: Resource Converter -; CHECK-DAG: USAGE: rc [options] file... +; CHECK: OVERVIEW: LLVM Resource Converter +; CHECK-DAG: USAGE: llvm-rc [options] file... ; CHECK-DAG: OPTIONS: ; CHECK-NEXT: /? Display this help and exit. ; CHECK-NEXT: /C Set the codepage used for input strings. diff --git a/llvm/tools/llvm-rc/llvm-rc.cpp b/llvm/tools/llvm-rc/llvm-rc.cpp --- a/llvm/tools/llvm-rc/llvm-rc.cpp +++ b/llvm/tools/llvm-rc/llvm-rc.cpp @@ -521,7 +521,8 @@ // 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); }