summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-19 13:34:05 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-19 13:34:05 +0900
commit54e564e1d626fbcfb5eabddaccc9daf0aae6a9be (patch)
tree3c025041538bfc29e3c1fd03837bba2a6bec12c6 /builtin
parentMerge branch 'jc/how-to-document-api' (diff)
parenthelp -a: improve and make --verbose default (diff)
downloadtgif-54e564e1d626fbcfb5eabddaccc9daf0aae6a9be.tar.xz
Merge branch 'nd/help-commands-verbose-by-default'
"git help -a" and "git help -av" give different pieces of information, and generally the "verbose" version is more friendly to the new users. "git help -a" by default now uses the more verbose output (with "--no-verbose", you can go back to the original). Also "git help -av" now lists aliases and external commands, which it did not used to. * nd/help-commands-verbose-by-default: help -a: improve and make --verbose default
Diffstat (limited to 'builtin')
-rw-r--r--builtin/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/help.c b/builtin/help.c
index 8d4f6dd301..d83dac2839 100644
--- a/builtin/help.c
+++ b/builtin/help.c
@@ -38,7 +38,7 @@ static const char *html_path;
static int show_all = 0;
static int show_guides = 0;
static int show_config;
-static int verbose;
+static int verbose = 1;
static unsigned int colopts;
static enum help_format help_format = HELP_FORMAT_NONE;
static int exclude_guides;