From 0116dac1d21c7436249e3500f1f4d5a86bf385ec Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 1 Jan 2016 15:44:32 +0100 Subject: [PATCH] Add more aliases to --dumpoptions --- include/parameters | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/include/parameters b/include/parameters index 0792954c..58211849 100644 --- a/include/parameters +++ b/include/parameters @@ -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