Thread (1 message) 1 message, 1 author, 2019-12-09

Re: [PATCH 3/3] git-p4: [usability] Show detailed help when parsing options fail

From: Junio C Hamano <hidden>
Date: 2019-12-09 22:24:48

"Ben Keene via GitGitGadget" [off-list ref] writes:
From: Ben Keene <redacted>

When a user provides invalid parameters to git-p4, the program
reports the failure but does not provide the correct command syntax.

Add an exception handler to the command-line argument parser to display
the command's specific command line parameter syntax when an exception
is thrown. Rethrow the exception so the current behavior is retained.
Makes sense, I guess.

I forgot to mention this, but from the titles of all three patches I
would probably drop [usability] thing and downcase the first verb,
e.g.

    Subject: [PATCH 3/3] git-p4: show detailed help when parsing options fail

if I were writing these patches.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help