Re: svn commit: r188006 - in head/usr.bin: basename dirname

[ Available lists | Index of svn-src-head | Month of Feb 2009 | Week of 2 Feb 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Gábor Kövesdán <gabor@FreeBSD.org>
Date
2 Feb 2009 11:57:55
Subject
Re: svn commit: r188006 - in head/usr.bin: basename dirname
Message-ID
4986DBCA.5000501@FreeBSD.org


[ Hide this part ]
Ed Schouten escribi:
> Hi Robert,
>
> * Robert Watson <rwatson@FreeBSD.org> wrote:
>
>> - (void)fprintf(stderr, "usage: dirname string\n");
>> + (void)fprintf(stderr, "usage: dirname string [...]\n");
>>
>
> Maybe we shouldn't use brackets here, like rm(1):
>
> usage: rm [-f | -i] [-dIPRrvW] file ...
>
I'd prefer if we used brackets with rm(1), as well. Even if these syntax
descriptions aren't BNFs, the brackets are usually used to denote
optionality.

--
Gabor Kovesdan

EMAIL: gabor@FreeBSD.org
WWW: http://www.kovesdan.org


Elapsed time: 0.151 seconds