nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bench/engines: add a sanitary check to just run the various benched programs
[nit.git]
/
tests
/
sav
/
test_toolcontext_args1.res
diff --git
a/tests/sav/test_toolcontext_args1.res
b/tests/sav/test_toolcontext_args1.res
index
df03503
..
ad80c05
100644
(file)
--- a/
tests/sav/test_toolcontext_args1.res
+++ b/
tests/sav/test_toolcontext_args1.res
@@
-5,12
+5,10
@@
_DUMMY_TOOL()
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="--warn --quiet --stop-on-first-error --no-color --log --log-dir --help --version --set-dummy-tool --verbose --bash-completion --option-a --option-b"
+ opts="--warn --warning --quiet --stop-on-first-error --keep-going --no-color --log --log-dir --nit-dir --help --version --set-dummy-tool --verbose --bash-completion --stub-man --option-a --option-b"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
- _filedir
-}
-complete -F _DUMMY_TOOL DUMMY_TOOL
-
+} &&
+complete -o default -F _DUMMY_TOOL DUMMY_TOOL