parse-options: add --git-completion-helper-all
commita0abe5e3b72c721a687ad9dc1a4a9bafe938c738
authorRyan Zoeller <rtzoeller@rtzoeller.com>
Wed, 19 Aug 2020 23:06:08 +0000 (19 23:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Aug 2020 00:46:17 +0000 (19 17:46 -0700)
tree0875ca14653a1e5ec84b8e0a059fbbdcfd323239
parent675a4aaf3b226c0089108221b96559e0baae5de9
parse-options: add --git-completion-helper-all

--git-completion-helper excludes hidden options, such as --allow-empty
for git commit. This is typically helpful, but occasionally we want
auto-completion for obscure flags. --git-completion-helper-all returns
all options, even if they are marked as hidden or nocomplete.

Signed-off-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c