path: root/t/
diff options
authorNguyễn Thái Ngọc Duy <>2018-09-29 06:08:14 (GMT)
committerJunio C Hamano <>2018-10-04 04:23:51 (GMT)
commit26c7d0678324d99b56d3044acfdfab57ee670af4 (patch)
treed17d1d7c0ae3b56c7aedfecd22694a5b26cad922 /t/
parent1d4361b0f344188ab5eec6dcea01f61a3a3a1670 (diff)
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 <> Reviewed-by: Taylor Blau <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 2 insertions, 2 deletions
diff --git a/t/ b/t/
index bc27df7..e8ef730 100755
--- a/t/
+++ b/t/
@@ -29,9 +29,9 @@ test_expect_success "setup" '
# to verify
test_expect_success 'basic help commands' '
git help >/dev/null &&
- git help -a >/dev/null &&
+ git help -a --no-verbose >/dev/null &&
git help -g >/dev/null &&
- git help -av >/dev/null
+ git help -a >/dev/null
test_expect_success "works for commands and guides by default" '