Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2009 12:40:58 +0100
From:      =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= <gabor@FreeBSD.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Robert Watson <rwatson@FreeBSD.org>
Subject:   Re: svn commit: r188006 - in head/usr.bin: basename dirname
Message-ID:  <4986DBCA.5000501@FreeBSD.org>
In-Reply-To: <20090202113141.GH1230@hoeg.nl>
References:  <200902021119.n12BJva6095787@svn.freebsd.org> <20090202113141.GH1230@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4986DBCA.5000501>