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

Re: [PATCH] Update 'git remote' usage and man page to match.

From
Tim Henigan <tim.henigan@gmail.com>
Date
Nov 15, 2009, 04:34 UTC
Message-ID
<32c343770911142034j6cf10e36jbd031c49119973c8@mail.gmail.com>
In-Reply-To
<20091114071948.6117@nanako3.lavabit.com>
On Fri, Nov 13, 2009 at 5:19 PM, Nanako Shiraishi <nanako3@lavabit.com> wrote:
Show 5 quoted lines
>
> The second change is good but why do you remove -v from the
> synopsis section? Why is it a good idea? Manual pages for
> many other commands list --verbose in their synopsis section.
>

After checking other git operations (fetch, pull, clone, commit, merge, etc) I found that none of these other commands document '-v' in the synopsis.

With that in mind, I wondered why it had been listed for 'git remote'. My best guess is that only some of the 'git remote' subcommands are affected by '-v'. However, to me it still seems better to only mention it as a general option. That way if subcommands add/remote support for '-v', the usage string and man page don't need to be updated.

Please note that even with the change, '-v' is still printed as one of the general options in the usage string. I simply removed it from the synopsis section.

Thank for reviewing, Tim

Previous: Nanako ShiraishiNext: Junio C Hamano
Message 3 of 5 in “Update 'git remote' usage and man page to match.”
  1. Update 'git remote' usage and man page to match.Tim Henigan, Nov 13, 2009
  2. Nanako ShiraishiNov 13, 2009
  3. Tim HeniganNov 15, 2009
  4. Junio C HamanoNov 15, 2009
  5. Tim HeniganNov 15, 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.