mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-13 01:30:58 +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.
2 lines
72 B
Plaintext
2 lines
72 B
Plaintext
Usage: batwatch [--watcher entr|poll][--[no-]clear] <file> [<file> ...]
|