Add more aliases to --dumpoptions

This commit is contained in:
mboelen 2016-01-01 15:44:32 +01:00
parent 70c90bc8fa
commit 0116dac1d2

View File

@ -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