summaryrefslogtreecommitdiff
path: root/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ToolDrivers/llvm-lib/LibDriver.cpp')
-rw-r--r--lib/ToolDrivers/llvm-lib/LibDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ToolDrivers/llvm-lib/LibDriver.cpp b/lib/ToolDrivers/llvm-lib/LibDriver.cpp
index d636dca7a2c7..64f4fe423f25 100644
--- a/lib/ToolDrivers/llvm-lib/LibDriver.cpp
+++ b/lib/ToolDrivers/llvm-lib/LibDriver.cpp
@@ -123,7 +123,7 @@ int llvm::libDriverMain(ArrayRef<const char *> ArgsArr) {
// Handle /help
if (Args.hasArg(OPT_help)) {
- Table.PrintHelp(outs(), ArgsArr[0], "LLVM Lib");
+ Table.PrintHelp(outs(), "llvm-lib [options] file...", "LLVM Lib");
return 0;
}