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:
-rw-r--r--include/helper_show8
-rw-r--r--lynis.83
2 files changed, 7 insertions, 4 deletions
diff --git a/include/helper_show b/include/helper_show
index 8f906d99..260518d6 100644
--- a/include/helper_show
+++ b/include/helper_show
@@ -30,7 +30,7 @@
COMMANDS="audit configure generate show update upload-only"
HELPERS="audit configure show update"
-OPTIONS="--auditor\n--cronjob (--cron)\n--debug\n--developer\n--help (-h)\n--license-key\n--log-file\n--manpage (--man)\n--no-colors\n--no-log\n--pentest\n--profile\n--plugin-dir\n--quick (-Q)\n--quiet (-q)\n--report-file\n--reverse-colors\n--skip-plugins\n--tests\n--tests-from-category\n--tests-from-group\n--upload\n--verbose\n--version (-V)\n--wait\n--warnings-only"
+OPTIONS="--auditor\n--cronjob (--cron)\n--debug\n--developer\n--help (-h)\n--license-key\n--log-file\n--manpage (--man)\n--no-colors\n--no-log\n--pentest\n--profile\n--plugin-dir\n--quick (-Q)\n--quiet (-q)\n--report-file\n--reverse-colors\n--skip-plugins\n--tests\n--tests-from-category\n--tests-from-group\n--usecwd\n--upload\n--verbose\n--version (-V)\n--wait\n--warnings-only"
SHOW_ARGS="categories changelog commands dbdir details environment eol groups help hostids includedir language license logfile man options os pidfile plugindir profiles release releasedate report settings tests version workdir"
SHOW_HELP="lynis show ${BROWN}categories${NORMAL} (display test categories)
@@ -113,10 +113,10 @@ UPDATE_HELP="
${CYAN}update info${NORMAL}
Check and show version information
-
+
${CYAN}update check${NORMAL}
- Just check if version is up-to-date
+ Just check if version is up-to-date
"
@@ -215,7 +215,7 @@ if [ $# -gt 0 ]; then
"generate") ${ECHOCMD} "${GENERATE_HELP}" ;;
"show") ${ECHOCMD} "${SHOW_HELP}" ;;
"update") ${ECHOCMD} "${UPDATE_HELP}" ;;
- "upload-only") ${ECHOCMD} "${UPLOAD_ONLY_HELP}" ;;
+ "upload-only") ${ECHOCMD} "${UPLOAD_ONLY_HELP}" ;;
*) DisplayError "Unknown argument for 'commands'"
esac
else
diff --git a/lynis.8 b/lynis.8
index b4fba8ff..2a74c2d1 100644
--- a/lynis.8
+++ b/lynis.8
@@ -125,6 +125,9 @@ Tests are only performed if they belong to the defined category. Use the command
Similar to \-\-tests\-from\-category. Only perform tests from a particular group.
Use 'show categories' to determine valid options.
.TP
+.B \-\-usecwd
+Run from the current working directory.
+.TP
.B \-\-upload
Upload data to Lynis Enterprise server (profile option: upload=yes).
.TP