mirror of
https://github.com/git/git.git
synced 2024-11-01 23:07:55 +01:00
Merge branch 'ap/maint-update-index-h-is-for-help' into maint
"git update-index -h" did not do the usual "-h(elp)" thing. * ap/maint-update-index-h-is-for-help: update-index: allow "-h" to also display options
This commit is contained in:
commit
6201eb3e65
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ int cmd_update_index(int argc, const char **argv, const char *prefix)
|
|||
};
|
||||
|
||||
if (argc == 2 && !strcmp(argv[1], "-h"))
|
||||
usage(update_index_usage[0]);
|
||||
usage_with_options(update_index_usage, options);
|
||||
|
||||
git_config(git_default_config, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue