]> git.ipfire.org Git - thirdparty/git.git/commit - help.c
help -a: improve and make --verbose default
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 29 Sep 2018 06:08:14 +0000 (08:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 04:23:51 +0000 (21:23 -0700)
commit26c7d0678324d99b56d3044acfdfab57ee670af4
treed17d1d7c0ae3b56c7aedfecd22694a5b26cad922
parent1d4361b0f344188ab5eec6dcea01f61a3a3a1670
help -a: improve and make --verbose default

When you type "git help" (or just "git") you are greeted with a list
with commonly used commands and their short description and are
suggested to use "git help -a" or "git help -g" for more details.

"git help -av" would be more friendly and inline with what is shown
with "git help" since it shows list of commands with description as
well, and commands are properly grouped.

"help -av" does not show everything "help -a" shows though. Add
external command section in "help -av" for this. While at there, add a
section for aliases as well (until now aliases have no UI, just "git
config").

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-help.txt
builtin/help.c
help.c
t/t0012-help.sh