Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-05-15 15:03:57 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-05-15 15:03:57 +0300
commit1cbf7244c29f92f4adf2ee9458b0eed487520c2d (patch)
tree501d46f36ac1f3e932457d9695c836ae14a37f43 /include/helper_show
parent26c67e4ec677980b169b2056dff0e5315c2735d1 (diff)
Added detection and display of profile directory
Diffstat (limited to 'include/helper_show')
-rw-r--r--include/helper_show3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/helper_show b/include/helper_show
index 6cc9d0c3..4caaebeb 100644
--- a/include/helper_show
+++ b/include/helper_show
@@ -29,6 +29,7 @@
######################################################################
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"
@@ -158,6 +159,7 @@ if [ $# -gt 0 ]; then
esac
fi
;;
+ "helpers") for I in ${HELPERS}; do ${ECHOCMD} ${I}; done ;;
"includedir")
${ECHOCMD} "${INCLUDEDIR}"
;;
@@ -166,6 +168,7 @@ if [ $# -gt 0 ]; then
"options") ${ECHOCMD} "${OPTIONS}" ;;
"pidfile") ${ECHOCMD} "${PIDFILE}" ;;
"profile" | "profiles") for I in ${PROFILES}; do ${ECHOCMD} ${I}; done ;;
+ "profiledir") ${ECHOCMD} "${PROFILEDIR}" ;;
"plugindir") ${ECHOCMD} "${PLUGINDIR}" ;;
"release" | "version") ${ECHOCMD} "${PROGRAM_VERSION}" ;;
"releasedate") ${ECHOCMD} "${PROGRAM_RELEASE_DATE}" ;;