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 --- wcal.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'wcal.1') 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 -- cgit 1.4.1