mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 08:14:10 +02:00
Add more aliases to --dumpoptions
This commit is contained in:
parent
70c90bc8fa
commit
0116dac1d2
@ -111,10 +111,24 @@
|
|||||||
DEBUG=1
|
DEBUG=1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Display all available options with short alias
|
||||||
--dump-options | --dumpoptions)
|
--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
|
for I in ${OPTIONS}; do
|
||||||
echo "${I}"
|
echo "${I}" | tr '_' ' '
|
||||||
done
|
done
|
||||||
ExitClean
|
ExitClean
|
||||||
;;
|
;;
|
||||||
@ -189,6 +203,7 @@
|
|||||||
QUICKMODE=1
|
QUICKMODE=1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Define alternative report file
|
||||||
--report-file)
|
--report-file)
|
||||||
shift
|
shift
|
||||||
REPORTFILE=$1
|
REPORTFILE=$1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user