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
path: root/lynis
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-04-23 18:00:42 +0300
committermboelen <michael@cisofy.com>2016-04-23 18:00:42 +0300
commit998e63535c2d3b7f9161ae760f912c25305c1237 (patch)
tree7392bebfb90a19987916bdec6ca57063b555e0b1 /lynis
parentcdebe9dc0676dfe1e98e5f237f163c7ace7df1c5 (diff)
Changed colors and text of default help
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis51
1 files changed, 26 insertions, 25 deletions
diff --git a/lynis b/lynis
index 60fa8faa..7bc16fd0 100755
--- a/lynis
+++ b/lynis
@@ -354,7 +354,7 @@ ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${
if [ ${PARAMCOUNT} -eq 0 -o ${WRONGOPTION} -eq 1 -o ${VIEWHELP} -eq 1 ]; then
printf "%s" "
- ${GREEN}Usage:${NORMAL} lynis ${CYAN}command ${WHITE}[options]${NORMAL}
+ ${GREEN}Usage:${NORMAL} lynis ${CYAN}command ${GRAY}[options]${NORMAL}
${WHITE}Command:${NORMAL}
@@ -375,29 +375,29 @@ ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${
${WHITE}Options:${NORMAL}
- ${BLUE}--auditor ${BROWN}\"<name>\"${NORMAL} : Auditor name
- ${BLUE}--dump-options${NORMAL} : See all available options
- ${BLUE}--no-log${NORMAL} : Don't create a log file
- ${BLUE}--pentest${NORMAL} : Non-privileged scan (useful for pentest)
- ${BLUE}--profile ${BROWN}<profile>${NORMAL} : Scan the system with the given profile file
- ${BLUE}--quick (-Q)${NORMAL} : Quick mode, don't wait for user input
- ${BLUE}--tests ${BROWN}\"<tests>\"${NORMAL} : Run only tests defined by <tests>
- ${BLUE}--tests-category ${BROWN}\"<category>\"${NORMAL} : Run only tests defined by <category>
-
- ${GRAY}Layout options${NORMAL}
- ${BLUE}--no-colors${NORMAL} : Don't use colors in output
- ${BLUE}--quiet (-q)${NORMAL} : No output, except warnings
- ${BLUE}--reverse-colors${NORMAL} : Optimize color display for light backgrounds
-
- ${GRAY}Misc options${NORMAL}
- ${BLUE}--debug${NORMAL} : Debug logging to screen
- ${BLUE}--view-manpage (--man)${NORMAL} : View man page
- ${BLUE}--verbose${NORMAL} : Show more details on screen
- ${BLUE}--version (-V)${NORMAL} : Display version number and quit
-
- ${GRAY}Enterprise options${NORMAL}
- ${BLUE}--plugin-dir ${BROWN}\"<path>\"${NORMAL} : Define path of available plugins
- ${BLUE}--upload${NORMAL} : Upload data to central node
+ ${GRAY}--auditor ${BROWN}\"<name>\"${NORMAL} : Auditor name
+ ${GRAY}--dump-options${NORMAL} : See all available options
+ ${GRAY}--no-log${NORMAL} : Don't create a log file
+ ${GRAY}--pentest${NORMAL} : Non-privileged scan (useful for pentest)
+ ${GRAY}--profile ${BROWN}<profile>${NORMAL} : Scan the system with the given profile file
+ ${GRAY}--quick (-Q)${NORMAL} : Quick mode, don't wait for user input
+ ${GRAY}--tests ${BROWN}\"<tests>\"${NORMAL} : Run only tests defined by <tests>
+ ${GRAY}--tests-category ${BROWN}\"<category>\"${NORMAL} : Run only tests defined by <category>
+
+ ${WHITE}Layout options${NORMAL}
+ ${GRAY}--no-colors${NORMAL} : Don't use colors in output
+ ${GRAY}--quiet (-q)${NORMAL} : No output, except warnings
+ ${GRAY}--reverse-colors${NORMAL} : Optimize color display for light backgrounds
+
+ ${WHITE}Misc options${NORMAL}
+ ${GRAY}--debug${NORMAL} : Debug logging to screen
+ ${GRAY}--view-manpage (--man)${NORMAL} : View man page
+ ${GRAY}--verbose${NORMAL} : Show more details on screen
+ ${GRAY}--version (-V)${NORMAL} : Display version number and quit
+
+ ${WHITE}Enterprise options${NORMAL}
+ ${GRAY}--plugin-dir ${BROWN}\"<path>\"${NORMAL} : Define path of available plugins
+ ${GRAY}--upload${NORMAL} : Upload data to central node
More options available. Run 'lynis show options', or use the man page.
@@ -407,7 +407,8 @@ ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${
echo " ${RED}Error${NORMAL}: ${WHITE}Invalid option '${WRONGOPTION_value}'${NORMAL}"
else
if [ ${VIEWHELP} -eq 0 ]; then
- echo " ${RED}Error${NORMAL}: ${WHITE}No command specified.${NORMAL} Exiting.."
+ echo " ${RED}No command specified.${WHITE} Exiting..${NORMAL}"
+ echo ""
fi
fi
echo ""