summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/Options.cpp')
-rw-r--r--lldb/source/Interpreter/Options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index c95876fe41a..d26e53f121c 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -529,7 +529,7 @@ void Options::GenerateOptionUsage(Stream &strm, CommandObject *cmd,
if (cmd->WantsRawCommandString() && !only_print_args)
strm.Printf(" --");
- strm.Printf(" %s", args_str.GetData());
+ strm << " " << args_str.GetString();
if (only_print_args)
break;
}
@@ -541,7 +541,7 @@ void Options::GenerateOptionUsage(Stream &strm, CommandObject *cmd,
if (!only_print_args)
strm.PutChar('\n');
strm.Indent(name);
- strm.Printf(" %s", arguments_str.GetData());
+ strm << " " << arguments_str.GetString();
}
strm.Printf("\n\n");
OpenPOWER on IntegriCloud