mirror of https://github.com/CISOfy/lynis.git
Add more aliases to --dumpoptions
This commit is contained in:
parent
70c90bc8fa
commit
0116dac1d2
|
@ -111,10 +111,24 @@
|
|||
DEBUG=1
|
||||
;;
|
||||
|
||||
# Display all available options with short alias
|
||||
--dump-options | --dumpoptions)
|
||||
OPTIONS="--auditor --check-all_(-c) --cronjob --debug --help --info --license-key --log-file --manpage --no-colors --no-log --pentest --profile --plugins-dir --quiet --quick --report-file --reverse-colors --tests --tests-category --upload --version --view-categories"
|
||||
OPTIONS="--auditor
|
||||
--check-all_(-c) --cronjob_(--cron)
|
||||
--debug
|
||||
--help_(-h)
|
||||
--info
|
||||
--license-key --log-file
|
||||
--manpage_(--man)
|
||||
--no-colors --no-log
|
||||
--pentest --profile --plugins-dir
|
||||
--quiet_(-q) --quick_(-Q)
|
||||
--report-file --reverse-colors
|
||||
--tests --tests-category
|
||||
--upload
|
||||
--version_(-V) --view-categories"
|
||||
for I in ${OPTIONS}; do
|
||||
echo "${I}"
|
||||
echo "${I}" | tr '_' ' '
|
||||
done
|
||||
ExitClean
|
||||
;;
|
||||
|
@ -189,6 +203,7 @@
|
|||
QUICKMODE=1
|
||||
;;
|
||||
|
||||
# Define alternative report file
|
||||
--report-file)
|
||||
shift
|
||||
REPORTFILE=$1
|
||||
|
|
Loading…
Reference in New Issue