diff options
author | mboelen <michael@cisofy.com> | 2016-04-25 21:04:44 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-04-25 21:04:44 +0300 |
commit | 6143e7ed831c5ec4e43526e70b075d938a0a3ef2 (patch) | |
tree | 9f8499100087b172b68980299b54f73fe41b4c02 /extras | |
parent | ee7b5f87bb381f1dedd8379124b1b240d906fedf (diff) |
Updated bash completion script
Diffstat (limited to 'extras')
-rw-r--r-- | extras/bash_completion.d/lynis | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/extras/bash_completion.d/lynis b/extras/bash_completion.d/lynis index 1492b032..299f5a1e 100644 --- a/extras/bash_completion.d/lynis +++ b/extras/bash_completion.d/lynis @@ -19,7 +19,7 @@ _lynis() COMPREPLY=( $( compgen -W '--check-all --help --info --version' -- "$cur" ) ) ;; *) - COMPREPLY=( $( compgen -W '--check-all --help --info --version' -- "$cur" ) ) + COMPREPLY=( $( compgen -W 'audit --help --info --version' -- "$cur" ) ) ;; esac @@ -27,6 +27,13 @@ _lynis() fi case $prev in + audit) + COMPREPLY=( $( compgen -W 'dockerfile system ' -- "$cur" ) ) + ;; + show) + COMPREPLY=( $( compgen -W 'help version ' -- "$cur" ) ) + ;; + --auditor) COMPREPLY=( '"Mr. Auditor"' ) return 0 @@ -58,7 +65,7 @@ _lynis() *) COMPREPLY=( $( compgen -W ' \ --auditor --cronjob --debug --quick --quiet --logfile --no-colors --no-log --pentest --reverse-colors \ - --tests --tests-category --upload --view-categories' -- "$cur" ) ) + --tests --tests-category --upload --verbose --view-categories' -- "$cur" ) ) ;; esac |