diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-04-03 20:59:59 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-04-03 20:59:59 +0200 |
commit | 7db19e430c8d10a34f0f2db574e37d4c54299e20 (patch) | |
tree | f84a2af18534e7fbeaadf6a9a9130dfdcdff6859 /wcal.1 | |
parent | 5597886318d0b4ec578b261b49f5bd80baf29538 (diff) | |
download | wcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.tar.gz wcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.tar.xz wcal-7db19e430c8d10a34f0f2db574e37d4c54299e20.zip |
write own -d parser with better defaults
Diffstat (limited to 'wcal.1')
-rw-r--r-- | wcal.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wcal.1 b/wcal.1 index 4371958..28885bf 100644 --- a/wcal.1 +++ b/wcal.1 @@ -7,7 +7,7 @@ .Sh SYNOPSIS .Nm .Op Fl 13yci -.Op Fl d Ar YYYY-MM-DD +.Op Fl d Ar YYYY Ns Op Ar -MM Ns Op Ar -DD .Sh DESCRIPTION The .Nm @@ -29,8 +29,11 @@ Show the calendar for the whole year. Show the calendar for the current week. .It Fl i Show the calendar starting from the current week indefinitely. -.It Fl d Ar YYYY-MM-DDD +.It Fl d Ar YYYY Ns Op Ar -MM Ns Op Ar -DD Show the calendar for a different date than today. +Implies +.Fl y +in case only a year is passed. .El .Sh EXIT STATUS .Ex -std |