From: Ævar Arnfjörð Bjarmason Date: Wed, 28 Sep 2022 08:39:07 GMT Subject: [PATCH v2 12/35] doc txt & -h consistency: add missing "]" to bugreport "-h" Message-ID: In-Reply-To: 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. Signed-off-by: Ævar Arnfjörð Bjarmason --- builtin/bugreport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/bugreport.c b/builtin/bugreport.c index 23170113cc8..bb138161943 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) ] [(-s|--suffix) ]\n" - " [--diagnose[=]"), + " [--diagnose[=]]"), NULL }; -- 2.38.0.rc1.925.gb61c5ccd7da