From: Stefan Beller Date: Fri, 02 Feb 2018 18:36:51 GMT Subject: Re: [PATCH v2 05/14] commit-graph: implement git-commit-graph --write Message-ID: In-Reply-To: <20180201153349.c94fe3de6b632e2fd8f843cf@google.com> On Thu, Feb 1, 2018 at 3:33 PM, Jonathan Tan wrote: > On Tue, 30 Jan 2018 16:39:34 -0500 > Derrick Stolee wrote: > >> diff --git a/Documentation/git-commit-graph.txt b/Documentation/git-commit-graph.txt >> index c8ea548dfb..3f3790d9a8 100644 >> --- a/Documentation/git-commit-graph.txt >> +++ b/Documentation/git-commit-graph.txt >> @@ -5,3 +5,21 @@ NAME >> ---- >> git-commit-graph - Write and verify Git commit graphs (.graph files) >> >> + >> +SYNOPSIS >> +-------- >> +[verse] >> +'git commit-graph' --write [--pack-dir ] > > Subcommands (like those in git submodule) generally don't take "--", as > far as I know. Then you know only the ugly side of Git. ;) It is true for git-submodule and a few others (the minority of commands IIRC) git-tag for example takes subcommands such as --list or --verify. https://public-inbox.org/git/xmqqiomodkt9.fsf@gitster.dls.corp.google.com/