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:
authorMark Garrett <mark.garrett@optus.com.au>2020-03-01 02:19:33 +0300
committerMark Garrett <mark.garrett@optus.com.au>2020-03-01 02:19:33 +0300
commitb2f676da7bf99090f384888b56bc20216bb5bc94 (patch)
treefce369e87db7ac4185b91fafaf365ea07bb4f0cd
parent30b1e4170bfffad8894b68d8b82f2e2cfa3e89b0 (diff)
allow for correct spelling for colour should drop the s from colours but didnt
-rw-r--r--include/parameters4
-rwxr-xr-xlynis2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/parameters b/include/parameters
index b8676b4c..e682824f 100644
--- a/include/parameters
+++ b/include/parameters
@@ -270,7 +270,7 @@
;;
# Don't use colors
- --no-colors | --nocolors)
+ --no-colors | --nocolors | --no-colours | --nocolours)
COLORS=0
RemoveColors
;;
@@ -332,7 +332,7 @@
;;
# Strip the colors which aren't clearly visible on light backgrounds
- --reverse-colors)
+ --reverse-colors| --reverse-colours)
BLUE="${NORMAL}";
SECTION="${NORMAL}";
NOTICE="${NORMAL}";
diff --git a/lynis b/lynis
index 081833bb..66a56acc 100755
--- a/lynis
+++ b/lynis
@@ -436,8 +436,10 @@ ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${
${WHITE}Layout options${NORMAL}
${GRAY}--no-colors${NORMAL} : Don't use colors in output
+ ${GRAY}--no-colours${NORMAL} : Don't use colours in output
${GRAY}--quiet (-q)${NORMAL} : No output
${GRAY}--reverse-colors${NORMAL} : Optimize color display for light backgrounds
+ ${GRAY}--reverse-colours${NORMAL} : Optimize colour display for light backgrounds
${WHITE}Misc options${NORMAL}
${GRAY}--debug${NORMAL} : Debug logging to screen