From: Jakub Narebski Date: Wed, 12 Aug 2009 10:19:30 GMT Subject: Re: [PATCH] Re: [TRIVIAL] Documentation: merge: one is required Message-ID: In-Reply-To: <7vy6ppbvdf.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Paul Bolle writes: > >>> Shoudn't be >>> >>> [-m ] [...] >> >> No, since "..." means one or more instances of the "" >> option. > > Does it really? > > After you brought up this "one or more", I re-read the docs your patches > touched, thinking that the author might have meant 'zero or more of A' > with these '...' notation. > > And I realized that they made perfect sense. > > In general, you can write: > > ... > > and read this as "The can be followed by nothing or something > (zero or more) of unspecified kind". If takes only one type of > zero or more things, you can _clarify the ellipses_ by prefixing them with > what kind of "stuff" you are talking about: > > ... > > and read this as "The can be followed by nothing or something > (zero or more) of s". I would have thought that it makes more sense to have ... for one or more, and [... ] for zero or more (optional one or more). Documentation/DocumentationLanguage, anyone? ;-)))) -- Jakub Narebski Poland ShadeHawk on #git