Skip to content

Commit

Permalink
Merge branch 'ap/maint-update-index-h-is-for-help' into maint-1.8.1
Browse files Browse the repository at this point in the history
* ap/maint-update-index-h-is-for-help:
  update-index: allow "-h" to also display options
  • Loading branch information
Junio C Hamano committed Apr 3, 2013
2 parents a134a60 + b04d930 commit 357d7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/update-index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 357d7f1

Please sign in to comment.