diff --git a/include/helper_show b/include/helper_show index 4caaebeb..37401113 100644 --- a/include/helper_show +++ b/include/helper_show @@ -32,10 +32,11 @@ 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--info\n--license-key --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-category\n--upload\n--verbose\n--version (-V)\n--view-categories" -SHOW_ARGS="commands dbdir help includedir license man options pidfile plugindir profiles release releasedate tests version workdir" +SHOW_ARGS="commands dbdir help hostids includedir license man options pidfile plugindir profiles release releasedate tests version workdir" SHOW_HELP="lynis show ${BROWN}commands${NORMAL} (all available commands) lynis show ${BROWN}dbdir${NORMAL} (database directory) lynis show ${BROWN}help${NORMAL} (detailed information about arguments) +lynis show ${BROWN}hostids${NORMAL} (unique IDs for this system) lynis show ${BROWN}includedir${NORMAL} (include directory for tests and functions) lynis show ${BROWN}license${NORMAL} (license details) lynis show ${BROWN}man${NORMAL} (show help) @@ -160,6 +161,10 @@ if [ $# -gt 0 ]; then fi ;; "helpers") for I in ${HELPERS}; do ${ECHOCMD} ${I}; done ;; + "hostids" | "hostid") + ${ECHOCMD} "hostid=${HOSTID}" + ${ECHOCMD} "hostid2=${HOSTID2}" + ;; "includedir") ${ECHOCMD} "${INCLUDEDIR}" ;;