diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-09-01 21:06:45 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-09-01 21:06:45 +0200 |
commit | 72480d98aff91590f11adee8ea0501ba7c490764 (patch) | |
tree | 4222d25121fee050bfe797643d0fea6e8dde6f43 /README.md | |
parent | 54578195f556ea478cd2cffc948157c91b8bef13 (diff) | |
download | frotate.hs-72480d98aff91590f11adee8ea0501ba7c490764.tar.gz |
Exit with error if --keep and --delete are missed
Still print all days to stderr. This is to prevent misuse
when frotate is invoked without --keep or --delete.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,8 +26,8 @@ Usage ===== Note that when neither `--keep` nor `--delete` option is given, the utility -prints all intervals with all days in them _to standard error_. In production -you will need to specify `--keep` or `--delete` explicitly. +prints all intervals with all days _to standard error_ and exits with non-zero +code. In production you will need to specify `--keep` or `--delete` explicitly. ``` Usage: frotate ([-k|--keep] | [-d|--delete]) [-b|--base BASE] DAY... |