tests: update sav/test_toolcontext*
authorJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 02:09:46 +0000 (22:09 -0400)
committerJean Privat <jean@pryen.org>
Tue, 30 Sep 2014 02:09:46 +0000 (22:09 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/test_toolcontext_args1.res
tests/sav/test_toolcontext_args2.res

index 3047835..5e997e3 100644 (file)
@@ -5,7 +5,7 @@ _DUMMY_TOOL()
        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 --no-color --log --log-dir --help --version --set-dummy-tool --verbose --bash-completion --option-a --option-b"
        if [[ ${cur} == -* ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
                return 0
index 6d772d7..8757721 100644 (file)
@@ -1,6 +1,7 @@
 Usage: test_toolcontext [OPTION]...
 Test for ToolContext, try --bash-completion.
-  -W, --warn              Show warnings
+  -W, --warn              Show more warnings
+  -w, --warning           Show/hide a specific warning
   -q, --quiet             Do not show warnings
   --stop-on-first-error   Stop on first error
   --no-color              Do not use color to display errors and warnings