]> git.ipfire.org Git - thirdparty/git.git/commit - git.c
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)
commite9547947795472c07453d0551b0cabb4ae378b5f
tree872f5e42913a325f8f0036ba9f9d295451b07f9b
parent007aa8d8344f97e9e547c128728cd87095f0f0ac
git.c: add hidden option --list-parseopt-builtins

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>
git.c