From 7db19e430c8d10a34f0f2db574e37d4c54299e20 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 3 Apr 2020 20:59:59 +0200 Subject: write own -d parser with better defaults --- README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index ee15776..9f0a548 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ NAME wcal – ISO weekly calendar SYNOPSIS - wcal [-13yci] [-d YYYY-MM-DD] + wcal [-13yci] [-d YYYY[-MM[-DD]]] DESCRIPTION The wcal utility prints a week-oriented calendar. Each week is prefixed @@ -24,8 +24,9 @@ DESCRIPTION -i Show the calendar starting from the current week indefinitely. - -d YYYY-MM-DDD - Show the calendar for a different date than today. + -d YYYY[-MM[-DD]] + Show the calendar for a different date than today. Implies -y in + case only a year is passed. EXIT STATUS The wcal utility exits 0 on success, and >0 if an error occurs. -- cgit 1.4.1