git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Re: [TRIVIAL] Documentation: add: <filepattern>... is optional

From
PBPaul Bolle <pebolle@tiscali.nl>
Date
Aug 11, 2009, 15:06 UTC
Message-ID
<1250003205.2707.11.camel@localhost.localdomain>
In-Reply-To
<20090811145041.GB12956@vidovic>
On Tue, 2009-08-11 at 16:50 +0200, Nicolas Sebrecht wrote:
Show 6 quoted lines
> The 11/08/09, Paul Bolle wrote:
> 
> > <filepattern>... is optional (e.g. when the --all or --update
> > options are used) so use square brackets in the synopsis.
> 
> So <filepattern> is needed in all other cases.

Since it is an optional argument in those cases I'd say it is better to indicate that it is optional in the synopsis too.

Paul Bolle
Previous: Nicolas Sebrecht
Message 3 of 3 in “[TRIVIAL] Documentation: add: <filepattern>... is optional”
  1. [TRIVIAL] Documentation: add: <filepattern>... is optionalPaul Bolle, Aug 11, 2009
  2. Re: [TRIVIAL] Documentation: add: <filepattern>... is optionalNicolas Sebrecht, Aug 11, 2009
  3. Paul BolleAug 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.