diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-24 18:22:00 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-24 18:22:00 +0300 |
commit | 2f4c854ba7790d1c8fb8c664daea6c971f18aa72 (patch) | |
tree | c3eed34233a165d56df1173b3f08e047b47ae47e /extras | |
parent | 0b5af4ed387ea0582181e56a56609c4a633cb91f (diff) |
Rename of categories, introduction of groups
Diffstat (limited to 'extras')
-rw-r--r-- | extras/bash_completion.d/lynis | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/extras/bash_completion.d/lynis b/extras/bash_completion.d/lynis index 299f5a1e..f8deac47 100644 --- a/extras/bash_completion.d/lynis +++ b/extras/bash_completion.d/lynis @@ -16,7 +16,7 @@ _lynis() # first parameter on line case $cur in -*) - COMPREPLY=( $( compgen -W '--check-all --help --info --version' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '--help --info --version' -- "$cur" ) ) ;; *) COMPREPLY=( $( compgen -W 'audit --help --info --version' -- "$cur" ) ) @@ -58,14 +58,18 @@ _lynis() COMPREPLY=( '"TEST-0001 TEST-0002 TEST-0003"' ) return 0 ;; - --tests-category) + --tests-from-category) + COMPREPLY=( '"performance privacy security"' ) + return 0 + ;; + --tests-from-groups) COMPREPLY=( '"accounting authentication"' ) return 0 ;; *) COMPREPLY=( $( compgen -W ' \ --auditor --cronjob --debug --quick --quiet --logfile --no-colors --no-log --pentest --reverse-colors \ - --tests --tests-category --upload --verbose --view-categories' -- "$cur" ) ) + --tests --tests-category --upload --verbose' -- "$cur" ) ) ;; esac |