From 2f4c854ba7790d1c8fb8c664daea6c971f18aa72 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 24 Jul 2016 17:22:00 +0200 Subject: Rename of categories, introduction of groups --- extras/bash_completion.d/lynis | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extras') 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 -- cgit v1.2.3