commit | adb8429ff57c3d54300dd6a8a1ed993d655c1931 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Thu Jun 24 20:31:04 2010 +0000 |
committer | Jim Ingham <jingham@apple.com> | Thu Jun 24 20:31:04 2010 +0000 |
tree | b4750585b2cb4221ced4960ba59b33e73cc7f456 | |
parent | 8b9af1caac91c9e66440370a79705a3370e0a360 [diff] [blame] |
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);