allow for correct spelling for colour should drop the s from colours but didnt

This commit is contained in:
Mark Garrett 2020-03-01 10:19:33 +11:00
parent 30b1e4170b
commit b2f676da7b
2 changed files with 4 additions and 2 deletions

View File

@ -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}";

2
lynis
View File

@ -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