git.c: add hidden option --list-parseopt-builtins
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 24 Mar 2018 20:35:19 +0000 (21:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 25 Mar 2018 16:33:17 +0000 (09:33 -0700)
This is another step to help automate git-completion.bash. This option
gives a list of all builtin commands that do use parse_options(),
which supports another hidden option --git-completion-helper. The
output is prepared for easy consumption by git-completion.bash and
separates items by spaces instead of \n

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found