]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ab/align-parse-options-help'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2021 22:15:58 +0000 (15:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2021 22:15:58 +0000 (15:15 -0700)
When "git cmd -h" shows more than one line of usage text (e.g.
the cmd subcommand may take sub-sub-command), parse-options API
learned to align these lines, even across i18n/l10n.

* ab/align-parse-options-help:
  parse-options: properly align continued usage output
  git rev-parse --parseopt tests: add more usagestr tests
  send-pack: properly use parse_options() API for usage string
  parse-options API users: align usage output in C-strings

1  2 
builtin/stash.c
parse-options.c

diff --cc builtin/stash.c
Simple merge
diff --cc parse-options.c
Simple merge