On Tue, Jan 24, 2023 at 07:13:49AM -0300, Lucas de Sena wrote:
> On 2023-01-24, Lucas de Sena wrote:
> > (nitpick)
> 
> While I'm at it, here's a patch for the SYNOPSIS section of the manual:
> 
> 
> Index: usr.bin/cal/cal.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/cal/cal.1,v
> retrieving revision 1.32
> diff -u -p -r1.32 cal.1
> --- usr.bin/cal/cal.1 31 Mar 2022 17:27:24 -0000      1.32
> +++ usr.bin/cal/cal.1 24 Jan 2023 10:09:46 -0000
> @@ -42,8 +42,10 @@
>  .Sh SYNOPSIS
>  .Nm cal
>  .Op Fl jmwy
> +.Oo
>  .Op Ar month
> -.Op Ar year
> +.Ar year
> +.Oc
>  .Sh DESCRIPTION
>  .Nm
>  displays a simple calendar.
> 

hi.

the trouble is, openbsd supports a single month name argument to cal(1):

        $ cal jan

the ability is non-standard, but is documented as such.

so our SYNOPSIS is correct and this proposal, as far as i can see,
incorrect.

jmc

Reply via email to