From 7c280589cffa6f55f6bef0496776334f1e3cdcb5 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 16 Mar 2020 13:22:54 -0700 Subject: parse-options: teach "git cmd -h" to show alias as alias There is a long-standing NEEDSWORK comment that complains about inconsistency between how an aliased option ("git clone --recurse" which is the only one that currently exists) gives a help text in a usage-error message vs "git cmd -h"). Get rid of it and then make sure we say an option is an alias for another, instead of repeating the same short help text for both, which leads to "they seem to do the same---is there any subtle difference?" puzzlement to end-users. Signed-off-by: Junio C Hamano --- t/t0040-parse-options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t0040-parse-options.sh') diff --git a/t/t0040-parse-options.sh b/t/t0040-parse-options.sh index 3483b72db4..f8178ee4e3 100755 --- a/t/t0040-parse-options.sh +++ b/t/t0040-parse-options.sh @@ -54,7 +54,7 @@ Alias -A, --alias-source get a string -Z, --alias-target - get a string + alias of --alias-source EOF -- cgit v1.2.3