]> git.ipfire.org Git - thirdparty/git.git/commit
parse-options: format argh like error messages
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jan 2021 14:44:02 +0000 (14:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jan 2021 23:10:27 +0000 (15:10 -0800)
commit4ca7994b2a037e98fd3205bb915904f245c9461e
treed4962415c988652f1de01a9eed062fedce708bf7
parent71ca53e8125e36efbda17293c50027d31681a41f
parse-options: format argh like error messages

"Keep it homogeneous across the repository" is in general a
guideline that can be used to converge to a good practice, but
we can be a bit more prescriptive in this case.  Just like the
messages we give die(_("...")) are formatted without the final
full stop and without the initial capitalization, most of the
argument help text are already formatted that way, and we want
to encourage that as the house style.

Noticed-by: ZheNing Hu <adlternative@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: ZheNing Hu <adlternative@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h