Handle completing "-" and "--".

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106784 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandObject.cpp b/source/Interpreter/CommandObject.cpp
index 384c03a..2813ac1 100644
--- a/source/Interpreter/CommandObject.cpp
+++ b/source/Interpreter/CommandObject.cpp
@@ -333,7 +333,7 @@
 
             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);