From: Junio C Hamano Date: Tue, 12 Sep 2017 02:28:00 GMT Subject: Re: [PATCH v2 1/2] doc/for-each-ref: consistently use '=' to between argument names and values Message-ID: In-Reply-To: <20170911193338.25985-1-me@ikke.info> Kevin Daudt writes: > The synopsis and description inconsistently add a '=' between the > argument name and it's value. Make this consistent. > > Signed-off-by: Kevin Daudt > --- > Documentation/git-for-each-ref.txt | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) Good idea, and I think it is in line with an earlier suggestion by Jonathan (cc'ed). Thanks. > diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt > index bb370c9c7..1015c88f6 100644 > --- a/Documentation/git-for-each-ref.txt > +++ b/Documentation/git-for-each-ref.txt > @@ -10,8 +10,9 @@ SYNOPSIS > [verse] > 'git for-each-ref' [--count=] [--shell|--perl|--python|--tcl] > [(--sort=)...] [--format=] [...] > - [--points-at ] [(--merged | --no-merged) []] > - [--contains []] [--no-contains []] > + [--points-at=] > + (--merged[=] | --no-merged[=]) > + [--contains[=]] [--no-contains[=]] > > DESCRIPTION > ----------- > @@ -65,24 +66,24 @@ OPTIONS > the specified host language. This is meant to produce > a scriptlet that can directly be `eval`ed. > > ---points-at :: > +--points-at=:: > Only list refs which points at the given object. > > ---merged []:: > +--merged[=]:: > Only list refs whose tips are reachable from the > specified commit (HEAD if not specified), > incompatible with `--no-merged`. > > ---no-merged []:: > +--no-merged[=]:: > Only list refs whose tips are not reachable from the > specified commit (HEAD if not specified), > incompatible with `--merged`. > > ---contains []:: > +--contains[=]:: > Only list refs which contain the specified commit (HEAD if not > specified). > > ---no-contains []:: > +--no-contains[=]:: > Only list refs which don't contain the specified commit (HEAD > if not specified).