diff options
Diffstat (limited to 'lldb/source/Interpreter/Options.cpp')
-rw-r--r-- | lldb/source/Interpreter/Options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp index 57e68931443..f5de1027643 100644 --- a/lldb/source/Interpreter/Options.cpp +++ b/lldb/source/Interpreter/Options.cpp @@ -572,10 +572,10 @@ Options::GenerateOptionUsage strm.EOL(); strm.Indent (); - strm.Printf ("--%s", full_options_table[i].long_option); + strm.Printf ("-%c", full_options_table[i].short_option); if (full_options_table[i].argument_name != NULL) strm.Printf (" %s", full_options_table[i].argument_name); - strm.Printf (" ( -%c", full_options_table[i].short_option); + strm.Printf (" ( --%s", full_options_table[i].long_option); if (full_options_table[i].argument_name != NULL) strm.Printf (" %s", full_options_table[i].argument_name); strm.PutCString(" )\n"); |