From owner-svn-src-head@FreeBSD.ORG Mon Feb 2 11:57:55 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 860041065672; Mon, 2 Feb 2009 11:57:55 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 397958FC21; Mon, 2 Feb 2009 11:57:55 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 93D8114D8255; Mon, 2 Feb 2009 12:41:02 +0100 (CET) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dcMhTSxgrtxq; Mon, 2 Feb 2009 12:41:00 +0100 (CET) Received: from [192.168.1.105] (catv-80-98-156-89.catv.broadband.hu [80.98.156.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 84C8F14D8162; Mon, 2 Feb 2009 12:41:00 +0100 (CET) Message-ID: <4986DBCA.5000501@FreeBSD.org> Date: Mon, 02 Feb 2009 12:40:58 +0100 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Ed Schouten References: <200902021119.n12BJva6095787@svn.freebsd.org> <20090202113141.GH1230@hoeg.nl> In-Reply-To: <20090202113141.GH1230@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Robert Watson Subject: Re: svn commit: r188006 - in head/usr.bin: basename dirname X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 11:57:56 -0000 Ed Schouten escribió: > Hi Robert, > > * Robert Watson 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