From: Karthik Nayak Date: Thu, 24 Jul 2025 22:14:06 GMT Subject: Re: [PATCH 2/5] for-each-ref: fix documentation argument ordering Message-ID: In-Reply-To: Junio C Hamano writes: > Karthik Nayak writes: > >> Improve the 'git-for-each-ref(1)' documentation with two corrections: >> >> 1. Add parentheses around `--exclude=` to indicate this option >> can be repeated as a complete unit. >> >> 2. Move `--stdin | ...` to the end, after all flags, since >> `` is a positional argument that should appear last in the >> argument list. >> >> Signed-off-by: Karthik Nayak >> --- >> Documentation/git-for-each-ref.adoc | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/Documentation/git-for-each-ref.adoc b/Documentation/git-for-each-ref.adoc >> index ae61ba642a..a170de4209 100644 >> --- a/Documentation/git-for-each-ref.adoc >> +++ b/Documentation/git-for-each-ref.adoc >> @@ -10,11 +10,11 @@ SYNOPSIS >> [verse] >> 'git for-each-ref' [--count=] [--shell|--perl|--python|--tcl] >> [(--sort=)...] [--format=] >> - [--include-root-refs] [ --stdin | ... ] >> - [--points-at=] >> + [--include-root-refs] [--points-at=] >> [--merged[=]] [--no-merged[=]] >> [--contains[=]] [--no-contains[=]] >> - [--exclude= ...] [--start-after=] >> + [(--exclude=)...] [--start-after=] >> + [ --stdin | ... ] > > Shouldn't the last line align with the others? Indeed, I blotched it up somehow. Will add it locally and wait a ~day before sending in a new version.