[Lldb-commits] [lldb] r137789 - /lldb/trunk/tools/driver/Driver.cpp
Jim Ingham
jingham at apple.com
Tue Aug 16 16:57:58 PDT 2011
Author: jingham
Date: Tue Aug 16 18:57:58 2011
New Revision: 137789
URL: http://llvm.org/viewvc/llvm-project?rev=137789&view=rev
Log:
Better help string for "lldb -- file arg1 arg2..."
Modified:
lldb/trunk/tools/driver/Driver.cpp
Modified: lldb/trunk/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=137789&r1=137788&r2=137789&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Tue Aug 16 18:57:58 2011
@@ -306,8 +306,13 @@
indent_level -= 5;
- fprintf (out, "\n%*s('%s <filename>' also works, to specify the file to be debugged.)\n\n",
- indent_level, "", name);
+ fprintf (out, "\n%*s(If you don't provide -f then the first argument will be the file to be debugged"
+ "\n%*s so '%s -- <filename> [<ARG1> [<ARG2>]]' also works."
+ "\n%*s Remember to end the options with \"--\" if any of your arguments have a \"-\" in them.)\n\n",
+ indent_level, "",
+ indent_level, "",
+ name,
+ indent_level, "");
}
void
More information about the lldb-commits
mailing list