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

Gábor Kövesdán gabor at FreeBSD.org
Mon Feb 2 03:57:56 PST 2009


Ed Schouten escribió:
> Hi Robert,
>
> * Robert Watson <rwatson at 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 at FreeBSD.org
WWW:   http://www.kovesdan.org



More information about the svn-src-head mailing list