threads / discuss / 50087

"git show --usage" no "usage" displayed

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

## tl;dr

2 messages between Dec 21, 2018 and Dec 21, 2018.

replies: 1people: 2as markdown or json

Nicholas Hsiang· Dec 21, 2018, 02:27 UTC · lore
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)

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 Nguyen· Dec 21, 2018, 14:49 UTC · re: Nicholas Hsiang · lore

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

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

← back to recent threads