Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 18:39:05 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-13 19:32:55 +0300
commit8bc6f92486361bffde6f2e7cfb01e9ccb36399a3 (patch)
tree3f61cfcfe438ab36315bc6a675e8467970ca30af /builtin/bugreport.c
parentdfc833332a8a45a700ec8c8be3bdb1334bdb7f4c (diff)
doc txt & -h consistency: balance unbalanced "[" and "]"
Fix a "-h" output syntax issue introduced when "--diagnose" was added in aac0e8ffeee (builtin/bugreport.c: create '--diagnose' option, 2022-08-12): We need to close the "[" we opened. The corresponding *.txt change did not have the same issue. The "help -h" output then had one "]" too many, which is an issue introduced in b40845293b5 (help: correct the usage string in -h and documentation, 2021-09-10). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/bugreport.c')
-rw-r--r--builtin/bugreport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/bugreport.c b/builtin/bugreport.c
index 23170113cc..bb13816194 100644
--- a/builtin/bugreport.c
+++ b/builtin/bugreport.c
@@ -61,7 +61,7 @@ static void get_populated_hooks(struct strbuf *hook_info, int nongit)
static const char * const bugreport_usage[] = {
N_("git bugreport [(-o|--output-directory) <file>] [(-s|--suffix) <format>]\n"
- " [--diagnose[=<mode>]"),
+ " [--diagnose[=<mode>]]"),
NULL
};