summaryrefslogtreecommitdiff
path: root/builtin/diagnose.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 17:39:06 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-13 09:32:55 -0700
commite2f4e7e8c0f77e45c51ac937fb870351517437c8 (patch)
tree81bd265f19fad459337094169787409fc83f8f5e /builtin/diagnose.c
parent8bc6f92486361bffde6f2e7cfb01e9ccb36399a3 (diff)
downloadgit-e2f4e7e8c0f77e45c51ac937fb870351517437c8.tar.gz
doc txt & -h consistency: correct padding around "[]()"
The whitespace padding of alternatives should be of the form "[-f | --force]" not "[-f|--force]". Likewise we should not have padding before the first option, so "(--all | <pack-filename>...)" is correct, not "( --all | <pack-filename>... )". 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diagnose.c b/builtin/diagnose.c
index 54491f2c51..64a65e2842 100644
--- a/builtin/diagnose.c
+++ b/builtin/diagnose.c
@@ -3,7 +3,7 @@
#include "diagnose.h"
static const char * const diagnose_usage[] = {
- N_("git diagnose [(-o|--output-directory) <path>] [(-s|--suffix) <format>]\n"
+ N_("git diagnose [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n"
" [--mode=<mode>]"),
NULL
};