From 4da45e7cca038b404d7873d370ee3e311cb89791 Mon Sep 17 00:00:00 2001 From: dataking Date: Mon, 24 Jul 2017 14:00:56 -0700 Subject: [PATCH] help tidying --- lynis-report-converter.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lynis-report-converter.pl b/lynis-report-converter.pl index 90ed129..4e03bec 100755 --- a/lynis-report-converter.pl +++ b/lynis-report-converter.pl @@ -2378,7 +2378,9 @@ if ($verbose) { sub usage { if ((!$output) and (!$showversion)) { - print colored("You must specify an output file.\n", "yellow"); + unless ($help) { + print colored("You must specify an output file.\n", "yellow"); + } } print <