[PATCH 12/34] doc txt & -h consistency: add missing "]" to bugreport "-h"
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Sep 5, 2022, 08:26 UTC
- Message-ID
- <patch-12.34-55ce0f8632f-20220902T092734Z-avarab@gmail.com>
- In-Reply-To
- <cover-00.34-00000000000-20220902T092734Z-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.37.3.1425.g73df845bcb2