datefmt

format unix timestamps over stdin
git clone git://jb55.com/datefmt
Log | Files | Refs | README | LICENSE

commit aa8111b8f005ab6adb99b44faf77718db65ddf72
parent 51fcfb2ec8215ca1f34a2460ec4e16d7af05afb5
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 16 May 2021 08:18:53 -0700

clarify --after default

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MREADME | 2+-
Mdatefmt.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -2,7 +2,7 @@ usage: datefmt [OPTION...] [FORMAT] format unix timestamps from stdin - -a, --after <timestamp> only format timestamps after this date + -a, --after <timestamp> only format timestamps after this date (default: 2000-01-01Z) -b, --before <timestamp> only format timestamps before this date -f, --future only format timestamps in the future -p, --past only format timestamps in the past diff --git a/datefmt.c b/datefmt.c @@ -175,7 +175,7 @@ static void parser_init(struct parser *parser) static void usage() { printf("usage: datefmt [OPTION...] [FORMAT]\n\n"); printf("format unix timestamps from stdin\n\n"); - printf(" -a, --after <timestamp> only format timestamps after this date \n"); + printf(" -a, --after <timestamp> only format timestamps after this date (default: 2000-01-01Z)\n"); printf(" -b, --before <timestamp> only format timestamps before this date \n"); printf(" -f, --future only format timestamps in the future \n"); printf(" -p, --past only format timestamps in the past \n");