summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-06-24 20:31:04 +0000
committerJim Ingham <jingham@apple.com>2010-06-24 20:31:04 +0000
commitd43e0094b7ef797d6053a495a780a83c4ce61127 (patch)
tree5198ead39f9767d695c4b76804a753776eb2fcbd /lldb/source/Interpreter/CommandObject.cpp
parentd6ccc6003583212018129faa4cc4c0cdcd650fbe (diff)
downloadbcm5719-llvm-d43e0094b7ef797d6053a495a780a83c4ce61127.tar.gz
bcm5719-llvm-d43e0094b7ef797d6053a495a780a83c4ce61127.zip
Handle completing "-" and "--".
llvm-svn: 106784
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 384c03acfa2..2813ac16366 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -333,7 +333,7 @@ CommandObject::HandleCompletion
input.AppendArgument ("<FAKE-VALUE>");
- input.ParseArgsForCompletion (*cur_options, opt_element_vector);
+ input.ParseArgsForCompletion (*cur_options, opt_element_vector, cursor_index);
input.DeleteArgumentAtIndex(input.GetArgumentCount() - 1);
OpenPOWER on IntegriCloud