duo-labs / EFIgy

A small client application that uses the Duo Labs EFIgy API to inform you about the state of your Mac EFI firmware
http://efigy.io
BSD 3-Clause "New" or "Revised" License
510 stars 39 forks source link

log option #12

Closed bc75 closed 6 years ago

bc75 commented 6 years ago

The -l option doesn't work as indicated in the output of -h. -h shows " -l LOG, --log LOG File to log output to" -l is treated as directory that the output file is written to with a generated filename.

Running the following command " python EFIgyLite_cli.py -l efigy-out-2017-10-11.txt " resulted in the following error with "N" replacing the the actual value generated "[!] Error opening specified log file at 'efigy-out-2017-10-11.txt/EFIgyLite_cli_NNNNNNNNNNN_NN.log' - [Errno 2] No such file or directory: 'efigy-out-2017-10-11.txt/EFIgyLite_cli_NNNNNNNNNNN_NN.log' "

MyNameIsMeerkat commented 6 years ago

Yup, I've cleaned up the -h messaging to be clearer that -l sets the directory to log to and is not the name of the file to log to.

Thanks raising