From b2f676da7bf99090f384888b56bc20216bb5bc94 Mon Sep 17 00:00:00 2001 From: Mark Garrett Date: Sun, 1 Mar 2020 10:19:33 +1100 Subject: [PATCH] allow for correct spelling for colour should drop the s from colours but didnt --- include/parameters | 4 ++-- lynis | 2 ++ 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