[PATCH v2 12/35] doc txt & -h consistency: add missing "]" to bugreport "-h"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Sep 28, 2022, 08:39 UTC
- Message-ID
- <patch-v2-12.35-6501b9d1ecc-20220928T082458Z-avarab@gmail.com>
- In-Reply-To
- <cover-v2-00.35-00000000000-20220928T082458Z-avarab@gmail.com>
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 <avarab@gmail.com> --- 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) <file>] [(-s|--suffix) <format>]\n" - " [--diagnose[=<mode>]"), + " [--diagnose[=<mode>]]"), NULL };
-- 2.38.0.rc1.925.gb61c5ccd7da