From: Antoine Pelisse Date: Sat, 23 Feb 2013 18:10:41 +0000 (+0100) Subject: update-index: allow "-h" to also display options X-Git-Tag: v1.8.1.6~10^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b04d930bbcd1dc7cbb4524063ec339a8feb3cc12?ds=sidebyside;hp=b04d930bbcd1dc7cbb4524063ec339a8feb3cc12 update-index: allow "-h" to also display options Even though "git update-index" was updated to use parse-options infrastracture some time ago to make it possible to show list of options with usage_with_options(), "git update-index -h" only shows the usage. Detect this case and call usage_with_options() to show the list of options as well. Signed-off-by: Antoine Pelisse Signed-off-by: Junio C Hamano ---