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 <github@garetech.com.au>2020-03-01 02:33:33 +0300
committerGitHub <noreply@github.com>2020-03-01 02:33:33 +0300
commita4dd4d91e576dab23af5c7289010d865a53b9275 (patch)
tree772c5c38b58699fc3548d572fd7f4f97cf85eec7
parentb5f8c06653c738187f79e7886bf1778adc10abf7 (diff)
parent0cd256372cda0d41d95a176e37e0404f426ccb1e (diff)
Merge pull request #1 from gcsgithub/soerelease
Soerelease
-rw-r--r--include/osdetection1
-rw-r--r--include/parameters4
-rwxr-xr-xlynis2
3 files changed, 5 insertions, 2 deletions
diff --git a/include/osdetection b/include/osdetection
index cf9d1eac..f06b23b6 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -61,6 +61,7 @@
10.12 | 10.12.[0-9]*) OS_FULLNAME="macOS Sierra (${OS_VERSION})" ;;
10.13 | 10.13.[0-9]*) OS_FULLNAME="macOS High Sierra (${OS_VERSION})" ;;
10.14 | 10.14.[0-9]*) OS_FULLNAME="macOS Mojave (${OS_VERSION})" ;;
+ 10.15 | 10.15.[0-9]*) OS_FULLNAME="macOS Catalina (${OS_VERSION})" ;;
*) echo "Unknown macOS version. Do you know what version it is? Create an issue at ${PROGRAM_SOURCE}" ;;
esac
else
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