git: support --list-cmds=list-<category>
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 20 May 2018 18:40:00 +0000 (20:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 May 2018 04:23:14 +0000 (13:23 +0900)
commit3c7777672bf9bc9ac2ddb422633b39af4faa1682
tree13710eec966e2da6bde01cde29e5412bcb808289
parent6bb2dc0b9472a84c7d17ee93bda28a7c1c97d415
git: support --list-cmds=list-<category>

This allows us to select any group of commands by a category defined
in command-list.txt. This is an internal/hidden option so we don't
have to be picky about the category name or worried about exposing too
much.

This will be used later by git-completion.bash to retrieve certain
command groups.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt
generate-cmdlist.sh
git.c
help.c
help.h