summaryrefslogtreecommitdiff
path: root/builtin/diagnose.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 15:39:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-10-13 16:32:55 (GMT)
commit5af8b61cc36216bfde9d8b934fb8b657c2093aec (patch)
tree6620fb9dab8cf728be22d1e1d74e5f9455157170 /builtin/diagnose.c
parentacf7828e388a67f6a7a025dc68b7012a6c3eee75 (diff)
downloadgit-5af8b61cc36216bfde9d8b934fb8b657c2093aec.zip
git-5af8b61cc36216bfde9d8b934fb8b657c2093aec.tar.gz
git-5af8b61cc36216bfde9d8b934fb8b657c2093aec.tar.bz2
doc txt & -h consistency: word-wrap
Change the documentation and -h output for those built-in commands where both the -h output and *.txt were lacking in word-wrapping. There are many more built-ins that could use this treatment, this change is narrowed to those where this whitespace change is needed to make the -h and *.txt consistent in the end. In the case of "Documentation/git-hash-object.txt" and "builtin/hash-object.c" this is not a "doc txt & -h consistency" change, as we're changing both versions, doing so here makes a subsequent change smaller. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diagnose.c')
-rw-r--r--builtin/diagnose.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/diagnose.c b/builtin/diagnose.c
index cd260c2..c7672fa 100644
--- a/builtin/diagnose.c
+++ b/builtin/diagnose.c
@@ -3,7 +3,8 @@
#include "diagnose.h"
static const char * const diagnose_usage[] = {
- N_("git diagnose [-o|--output-directory <path>] [-s|--suffix <format>] [--mode=<mode>]"),
+ N_("git diagnose [-o|--output-directory <path>] [-s|--suffix <format>]\n"
+ " [--mode=<mode>]"),
NULL
};