summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 96e0ef92316..d2b2ce54875 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -169,7 +169,7 @@ CommandObject::ParseOptions
Error error;
options->NotifyOptionParsingStarting();
- // ParseOptions calls getopt_long, which always skips the zero'th item in the array and starts at position 1,
+ // ParseOptions calls getopt_long_only, which always skips the zero'th item in the array and starts at position 1,
// so we need to push a dummy value into position zero.
args.Unshift("dummy_string");
error = args.ParseOptions (*options);
@@ -416,7 +416,7 @@ CommandObject::HandleCompletion
// I stick an element on the end of the input, because if the last element is
- // option that requires an argument, getopt_long will freak out.
+ // option that requires an argument, getopt_long_only will freak out.
input.AppendArgument ("<FAKE-VALUE>");
OpenPOWER on IntegriCloud