mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-13 09:40:42 +01:00
4c09718a46
- Add `-h` and `--help` flags to print out basic usage. - Refactor determine_stat_variant so that it checks to make sure the value from `stat` is a epoch timestamp, and exit noisily if it is not. - Change `determine_watcher` to set the `OPT_WATCHER` global directory directly instead of echoing it then being called from a subshell. There was an errror that the subshell was obscuring. - Add a test to reflect the bug. |
||
---|---|---|
.. | ||
test_help.stdout.snapshot | ||
test_version.stderr.snapshot | ||
test_version.stdout.snapshot |