about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-04-03 20:59:59 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-04-03 20:59:59 +0200
commit7db19e430c8d10a34f0f2db574e37d4c54299e20 (patch)
treef84a2af18534e7fbeaadf6a9a9130dfdcdff6859 /README
parent5597886318d0b4ec578b261b49f5bd80baf29538 (diff)
downloadwcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.tar.gz
wcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.tar.xz
wcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.zip
write own -d parser with better defaults
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
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.