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>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2022-10-13 17:39:06 +02:00
committed by Junio C Hamano
parent 8bc6f92486
commit e2f4e7e8c0
15 changed files with 18 additions and 18 deletions

View File

@ -60,7 +60,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"
N_("git bugreport [(-o | --output-directory) <file>] [(-s | --suffix) <format>]\n"
" [--diagnose[=<mode>]]"),
NULL
};