diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-10-13 17:39:06 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-13 09:32:55 -0700 |
| commit | e2f4e7e8c0f77e45c51ac937fb870351517437c8 (patch) | |
| tree | 81bd265f19fad459337094169787409fc83f8f5e /builtin | |
| parent | doc txt & -h consistency: balance unbalanced "[" and "]" (diff) | |
| download | git-e2f4e7e8c0f77e45c51ac937fb870351517437c8.tar.gz git-e2f4e7e8c0f77e45c51ac937fb870351517437c8.zip | |
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>
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/bugreport.c | 2 | ||||
| -rw-r--r-- | builtin/commit-graph.c | 2 | ||||
| -rw-r--r-- | builtin/diagnose.c | 2 | ||||
| -rw-r--r-- | builtin/sparse-checkout.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/builtin/bugreport.c b/builtin/bugreport.c index bb13816194..61d93383f5 100644 --- a/builtin/bugreport.c +++ b/builtin/bugreport.c @@ -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 }; diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c index 50b1a17156..c21cfd5669 100644 --- a/builtin/commit-graph.c +++ b/builtin/commit-graph.c @@ -14,7 +14,7 @@ #define BUILTIN_COMMIT_GRAPH_WRITE_USAGE \ N_("git commit-graph write [--object-dir <objdir>] [--append]\n" \ - " [--split[=<strategy>]] [--reachable|--stdin-packs|--stdin-commits]\n" \ + " [--split[=<strategy>]] [--reachable | --stdin-packs | --stdin-commits]\n" \ " [--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]\n" \ " <split options>") diff --git a/builtin/diagnose.c b/builtin/diagnose.c index 54491f2c51..64a65e2842 100644 --- a/builtin/diagnose.c +++ b/builtin/diagnose.c @@ -3,7 +3,7 @@ #include "diagnose.h" static const char * const diagnose_usage[] = { - N_("git diagnose [(-o|--output-directory) <path>] [(-s|--suffix) <format>]\n" + N_("git diagnose [(-o | --output-directory) <path>] [(-s | --suffix) <format>]\n" " [--mode=<mode>]"), NULL }; diff --git a/builtin/sparse-checkout.c b/builtin/sparse-checkout.c index 287716db68..aac0f708e4 100644 --- a/builtin/sparse-checkout.c +++ b/builtin/sparse-checkout.c @@ -20,7 +20,7 @@ static const char *empty_base = ""; static char const * const builtin_sparse_checkout_usage[] = { - N_("git sparse-checkout (init|list|set|add|reapply|disable) <options>"), + N_("git sparse-checkout (init | list | set | add | reapply | disable) <options>"), NULL }; |
