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:
parent
8bc6f92486
commit
e2f4e7e8c0
@ -9,7 +9,7 @@ git-diff-files - Compares files in the working tree and the index
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git diff-files' [-q] [-0|-1|-2|-3|-c|--cc] [<common-diff-options>] [<path>...]
|
'git diff-files' [-q] [-0 | -1 | -2 | -3 | -c | --cc] [<common-diff-options>] [<path>...]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -9,7 +9,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git hash-object' [-t <type>] [-w] [--path=<file>|--no-filters]
|
'git hash-object' [-t <type>] [-w] [--path=<file> | --no-filters]
|
||||||
[--stdin [--literally]] [--] <file>...
|
[--stdin [--literally]] [--] <file>...
|
||||||
'git hash-object' [-t <type>] [-w] --stdin-paths [--no-filters]
|
'git hash-object' [-t <type>] [-w] --stdin-paths [--no-filters]
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ git-merge-base - Find as good common ancestors as possible for a merge
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git merge-base' [-a|--all] <commit> <commit>...
|
'git merge-base' [-a | --all] <commit> <commit>...
|
||||||
'git merge-base' [-a|--all] --octopus <commit>...
|
'git merge-base' [-a | --all] --octopus <commit>...
|
||||||
'git merge-base' --is-ancestor <commit> <commit>
|
'git merge-base' --is-ancestor <commit> <commit>
|
||||||
'git merge-base' --independent <commit>...
|
'git merge-base' --independent <commit>...
|
||||||
'git merge-base' --fork-point <ref> [<commit>]
|
'git merge-base' --fork-point <ref> [<commit>]
|
||||||
|
@ -9,7 +9,7 @@ git-pack-redundant - Find redundant pack files
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git pack-redundant' [ --verbose ] [ --alt-odb ] ( --all | <pack-filename>... )
|
'git pack-redundant' [--verbose] [--alt-odb] (--all | <pack-filename>...)
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -9,7 +9,7 @@ git-prune-packed - Remove extra objects that are already in pack files
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git prune-packed' [-n|--dry-run] [-q|--quiet]
|
'git prune-packed' [-n | --dry-run] [-q | --quiet]
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
@ -8,7 +8,7 @@ git-rerere - Reuse recorded resolution of conflicted merges
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git rerere' [clear|forget <pathspec>|diff|remaining|status|gc]
|
'git rerere' [clear | forget <pathspec> | diff | remaining | status | gc]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -11,7 +11,7 @@ SYNOPSIS
|
|||||||
[verse]
|
[verse]
|
||||||
'git send-pack' [--dry-run] [--force] [--receive-pack=<git-receive-pack>]
|
'git send-pack' [--dry-run] [--force] [--receive-pack=<git-receive-pack>]
|
||||||
[--verbose] [--thin] [--atomic]
|
[--verbose] [--thin] [--atomic]
|
||||||
[--[no-]signed|--signed=(true|false|if-asked)]
|
[--[no-]signed | --signed=(true|false|if-asked)]
|
||||||
[<host>:]<directory> (--all | <ref>...)
|
[<host>:]<directory> (--all | <ref>...)
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
@ -8,12 +8,12 @@ git-show-branch - Show branches and their commits
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git show-branch' [-a|--all] [-r|--remotes] [--topo-order | --date-order]
|
'git show-branch' [-a | --all] [-r | --remotes] [--topo-order | --date-order]
|
||||||
[--current] [--color[=<when>] | --no-color] [--sparse]
|
[--current] [--color[=<when>] | --no-color] [--sparse]
|
||||||
[--more=<n> | --list | --independent | --merge-base]
|
[--more=<n> | --list | --independent | --merge-base]
|
||||||
[--no-name | --sha1-name] [--topics]
|
[--no-name | --sha1-name] [--topics]
|
||||||
[(<rev> | <glob>)...]
|
[(<rev> | <glob>)...]
|
||||||
'git show-branch' (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]
|
'git show-branch' (-g | --reflog)[=<n>[,<base>]] [--list] [<ref>]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -8,8 +8,8 @@ git-show-ref - List references in a local repository
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git show-ref' [-q|--quiet] [--verify] [--head] [-d|--dereference]
|
'git show-ref' [-q | --quiet] [--verify] [--head] [-d | --dereference]
|
||||||
[-s|--hash[=<n>]] [--abbrev[=<n>]] [--tags]
|
[-s | --hash[=<n>]] [--abbrev[=<n>]] [--tags]
|
||||||
[--heads] [--] [<pattern>...]
|
[--heads] [--] [<pattern>...]
|
||||||
'git show-ref' --exclude-existing[=<pattern>]
|
'git show-ref' --exclude-existing[=<pattern>]
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ git-var - Show a Git logical variable
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git var' ( -l | <variable> )
|
'git var' (-l | <variable>)
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -9,7 +9,7 @@ git-verify-pack - Validate packed Git archive files
|
|||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git verify-pack' [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ...
|
'git verify-pack' [-v | --verbose] [-s | --stat-only] [--] <pack>.idx...
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
@ -60,7 +60,7 @@ static void get_populated_hooks(struct strbuf *hook_info, int nongit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const char * const bugreport_usage[] = {
|
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>]]"),
|
" [--diagnose[=<mode>]]"),
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define BUILTIN_COMMIT_GRAPH_WRITE_USAGE \
|
#define BUILTIN_COMMIT_GRAPH_WRITE_USAGE \
|
||||||
N_("git commit-graph write [--object-dir <objdir>] [--append]\n" \
|
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" \
|
" [--changed-paths] [--[no-]max-new-filters <n>] [--[no-]progress]\n" \
|
||||||
" <split options>")
|
" <split options>")
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "diagnose.h"
|
#include "diagnose.h"
|
||||||
|
|
||||||
static const char * const diagnose_usage[] = {
|
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>]"),
|
" [--mode=<mode>]"),
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
static const char *empty_base = "";
|
static const char *empty_base = "";
|
||||||
|
|
||||||
static char const * const builtin_sparse_checkout_usage[] = {
|
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
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user