From: Christian Couder Date: Sat, 07 Jun 2008 03:34:45 GMT Subject: Re: [PATCH 1/2] git-commit.txt: Correct option alternatives Message-ID: <200806070534.45761.chriscool@tuxfamily.org> In-Reply-To: <1212798261-26785-1-git-send-email-s-beyer@gmx.net> Le samedi 7 juin 2008, Stephan Beyer a écrit : > > Furthermore, for long-option consistency --author > is changed to --author=. [...] > The second hunk is: --author is advertised for historical > reasons (I guess), but all the other long options with an argument > are --long-opt=, e.g. --message= or --cleanup=. > (Notice the equals sign.) > Because parse_long_opt() accepts both, I changed this for consistency > reasons. [...] > @@ -8,8 +8,8 @@ git-commit - Record changes to the repository > SYNOPSIS > -------- > [verse] > -'git-commit' [-a | --interactive] [-s] [-v] [-u] > - [(-c | -C) | -F | -m | --amend] > +'git-commit' [-a | --interactive] [-s] [-v] [-u] [--amend] > + [(-c | -C) ] [-F | -m ] > [--allow-empty] [--no-verify] [-e] [--author ] In the above line there is still "[--author ]" without "=", > [--cleanup=] [--] [[-i | -o ]...] while in this line there is "[--cleanup=]" with "=". So I think that to be consistent, "[--author=]" (with "=") should be used in the SYNOPSIS too. > @@ -68,7 +68,7 @@ OPTIONS > Take the commit message from the given file. Use '-' to > read the message from the standard input. > > ---author :: > +--author=:: > Override the author name used in the commit. Use > `A U Thor ` format. Thanks, Christian.