diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-08-26 15:08:24 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-08-26 15:08:24 +0300 |
commit | a425e9b0a135cd6e12107cdecef18431f75af4b9 (patch) | |
tree | 645759f4eac34b72792242b6b3b7c121e6d2d8f3 /include/helper_show | |
parent | fdf3ded89f7a205a69d150f2ba629f68ca46db5f (diff) |
Added 'details' to help
Diffstat (limited to 'include/helper_show')
-rw-r--r-- | include/helper_show | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/helper_show b/include/helper_show index 09baa9fa..11a0417d 100644 --- a/include/helper_show +++ b/include/helper_show @@ -32,11 +32,12 @@ COMMANDS="audit show update" HELPERS="audit configure show update" OPTIONS="--auditor\n--check-all (-c)\n--config\n--cronjob (--cron)\n--debug\n--developer\n--help (-h)\n--license-key\n--log-file\n--manpage (--man)\n--no-colors --no-log\n--pentest\n--profile\n--plugins-dir\n--quiet (-q)\n--quick (-Q)\n--report-file\n--reverse-colors\n--tests\n--tests-from-category\n--tests-from-group\n--upload\n--verbose\n--version (-V)\n--wait" -SHOW_ARGS="categories changelog commands dbdir groups help hostids includedir language license logfile man options pidfile plugindir profiles release releasedate report settings tests version workdir" +SHOW_ARGS="categories changelog commands dbdir details groups help hostids includedir language license logfile man options pidfile plugindir profiles release releasedate report settings tests version workdir" SHOW_HELP="lynis show ${BROWN}categories${NORMAL} (display test categories) lynis show ${BROWN}changelog${NORMAL} ${GRAY}[version]${NORMAL} (release details) lynis show ${BROWN}commands${NORMAL} (all available commands) lynis show ${BROWN}dbdir${NORMAL} (database directory) +lynis show ${BROWN}details${NORMAL} (display test details from log file) lynis show ${BROWN}groups${NORMAL} (test groups) lynis show ${BROWN}help${NORMAL} (detailed information about arguments) lynis show ${BROWN}hostids${NORMAL} (unique IDs for this system) @@ -212,7 +213,7 @@ if [ $# -gt 0 ]; then "details") if [ -z "${LOGFILE}" ]; then DisplayError "Could not find log file to parse"; fi if [ $# -eq 1 ]; then - DisplayError "Provide a test ID" + DisplayError "This command needs a test ID (e.g. CORE-1000) to search for." else shift if [ $# -eq 1 ]; then |