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

Re: "git show --usage" no "usage" displayed

From
Duy Nguyen <pclouds@gmail.com>
Date
Dec 21, 2018, 14:49 UTC
Message-ID
<CACsJy8AeTshh+JCqpL2E9Og_Su4AHH7kBU0HqiW12JnZiQeN6g@mail.gmail.com>
In-Reply-To
<CAEcaDLk_vid3Y2z-kX17d5_LWEQTF4CYiztqrUFmOpN-YW-3yQ@mail.gmail.com>
On Fri, Dec 21, 2018 at 9:40 AM Nicholas Hsiang <xianghongai@gmail.com> wrote:
Show 10 quoted lines
>
> Dear git:
>
> When I type `git remote --usage`, The command panel will prompt
> 'error: unknown option `usage', Then there will be `git remote`
> related instructions.
> But I type `git show --usage`, just display 'fatal: unrecognized
> argument: --usage'.
>
> ![git-show-command-no-display-usage.png](https://i.loli.net/2018/12/21/5c1c4d34075c4.png)

This is a known issue because "git log" and friends do not use the same option parser as the rest. I have something in the queue to fix this, but it will take some time to get reviewed and merged because it's a big big change.

Show 7 quoted lines
> Sorry, the previou email forgot to write the title. The previou
> previou email did not remove the HTML format.
>
> Yours sincerely,
> Xiang HongAi.
> --
> Live Long and Prosper.
-- 
Duy
Previous: Nicholas Hsiang
Message 2 of 2 in “"git show --usage" no "usage" displayed”
  1. Nicholas HsiangDec 21, 2018
  2. Duy NguyenDec 21, 2018

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.