From 62a4f12e0a6b7929c28dc872fd4e03de7d296c9d Mon Sep 17 00:00:00 2001 From: dataking Date: Wed, 26 Jul 2017 09:59:19 -0700 Subject: [PATCH] move input option in usage(); and update README --- README.md | 1 + lynis-report-converter.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f04bb5..09f2a53 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Where: -h|--help Display this useful message, then exit. -v|--verbose Display more detailed output. This is typically used for debugging, but may provide insight when running into problems. +-i|--input Input log filename. Defaults to /var/log/lynis-report.dat. -E|--excel Output the report in Microsoft Excel binary format. -j|--json Output the report in JSON format. The default is to print to STDOUT, unlike the other formats which require an output file. This diff --git a/lynis-report-converter.pl b/lynis-report-converter.pl index 4e03bec..f39d51f 100755 --- a/lynis-report-converter.pl +++ b/lynis-report-converter.pl @@ -2390,8 +2390,8 @@ $0 -h|--help -v|--verbose -E|--excel -j|--json -x|--xml -p|--pdf -o|--output Where: -h|--help Display this useful message, then exit. --i|--input Input log filename. Defaults to /var/log/lynis-report.dat. -v|--verbose Display more detailed output. This is typically used for debugging, but may provide insight when running into problems. +-i|--input Input log filename. Defaults to /var/log/lynis-report.dat. -E|--excel Output the report in Microsoft Excel binary format. -j|--json Output the data in JSON format. It is recommended to pipe to /usr/bin/json_pp for easier (human) reading. Output file name is optional for JSON output. -x|--xml Output the report as XML.