move input option in usage(); and update README

This commit is contained in:
dataking 2017-07-26 09:59:19 -07:00
parent 4da45e7cca
commit 62a4f12e0a
2 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ Where:
-h|--help Display this useful message, then exit. -h|--help Display this useful message, then exit.
-v|--verbose Display more detailed output. This is typically used for -v|--verbose Display more detailed output. This is typically used for
debugging, but may provide insight when running into problems. 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. -E|--excel Output the report in Microsoft Excel binary format.
-j|--json Output the report in JSON format. The default is to print to -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 STDOUT, unlike the other formats which require an output file. This

View File

@ -2390,8 +2390,8 @@ $0 -h|--help -v|--verbose -E|--excel -j|--json -x|--xml -p|--pdf -o|--output
Where: Where:
-h|--help Display this useful message, then exit. -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. -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. -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. -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. -x|--xml Output the report as XML.