]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cal: clean up man page synopsis syntax
authorKarel Zak <kzak@redhat.com>
Wed, 7 Feb 2018 10:06:58 +0000 (11:06 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Feb 2018 10:19:44 +0000 (11:19 +0100)
Let's use '[ ]' rather than '< >' to be compatible with our another
man pages. Note that all time addressing on cal(1) command line is
optional.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1542883
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.1

index 60eaa5c3b83f78d011aac3f39ca4c49ef8b3558f..c9e92d74977cc9bb042e0cce3f8cbc0845c8d4aa 100644 (file)
@@ -44,7 +44,7 @@ cal \- display a calendar
 .br
 .B cal
 [options]
-.RI <timestamp|monthname>
+.RI [ "timestamp" | "monthname" ]
 .SH DESCRIPTION
 .B cal
 displays a simple calendar.  If no arguments are specified, the current