Merge branch 'rs/parseopt-short-help'
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Dec 2015 19:19:11 +0000 (11:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Dec 2015 19:19:11 +0000 (11:19 -0800)
commit2d808073db276a447eb6d7e45afe47a363ff6bbe
tree0ed2394bd5dd0eac7f77963405e5023412fa2a3e
parentc69d08df96ab784a61c9abaf81a632eea594e62b
parent42fdf86e5f6ecf675e973e3e4a08952c8b1fd4c4
Merge branch 'rs/parseopt-short-help'

Make "-h" command line option work more consistently in all commands.

* rs/parseopt-short-help:
  show-ref: stop using PARSE_OPT_NO_INTERNAL_HELP
  grep: stop using PARSE_OPT_NO_INTERNAL_HELP
  parse-options: allow -h as a short option
  parse-options: inline parse_options_usage() at its only remaining caller
  parse-options: deduplicate parse_options_usage() calls