prevent completion of command arguments if command contains colon
This commit is contained in:
parent
468e7703bd
commit
9b0d7bcb72
1 changed files with 3 additions and 0 deletions
|
@ -423,6 +423,9 @@ public class ProxyHandler implements Handler {
|
|||
System.arraycopy(args, 1, argv, 0, argv.length);
|
||||
list = this.getCompletions(argv);
|
||||
}
|
||||
else if(this.completion.split(" ", -1)[0].indexOf(':') != -1) {
|
||||
list = Lists.newArrayList();
|
||||
}
|
||||
}
|
||||
else {
|
||||
String[] args = this.completion.split(" ", -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue