Documentation: remove backslashes in manpage synopses
For some reason, various manual pages have an asterisk escaped with \ in the synopsis. Since there is no other asterisk to pair it with, Asciidoc does not consider this asterisk escapable, so it passes the backslash through. Each page either uses [verse] or has only one asterisk, so it is safe to drop the backslashes (checked with asciidoc 8.5.2). Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
9257a1efe1
commit
12378c0aa8
@ -13,7 +13,7 @@ SYNOPSIS
|
|||||||
[--stage=<number>|all]
|
[--stage=<number>|all]
|
||||||
[--temp]
|
[--temp]
|
||||||
[-z] [--stdin]
|
[-z] [--stdin]
|
||||||
[--] [<file>]\*
|
[--] [<file>]*
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -8,7 +8,7 @@ git-commit-tree - Create a new commit object
|
|||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git commit-tree' <tree> [-p <parent commit>]\* < changelog
|
'git commit-tree' <tree> [-p <parent commit>]* < changelog
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
|
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
|
||||||
[--sort=<key>]\* [--format=<format>] [<pattern>...]
|
[--sort=<key>]* [--format=<format>] [<pattern>...]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -10,14 +10,14 @@ SYNOPSIS
|
|||||||
--------
|
--------
|
||||||
[verse]
|
[verse]
|
||||||
'git ls-files' [-z] [-t] [-v]
|
'git ls-files' [-z] [-t] [-v]
|
||||||
(--[cached|deleted|others|ignored|stage|unmerged|killed|modified])\*
|
(--[cached|deleted|others|ignored|stage|unmerged|killed|modified])*
|
||||||
(-[c|d|o|i|s|u|k|m])\*
|
(-[c|d|o|i|s|u|k|m])*
|
||||||
[-x <pattern>|--exclude=<pattern>]
|
[-x <pattern>|--exclude=<pattern>]
|
||||||
[-X <file>|--exclude-from=<file>]
|
[-X <file>|--exclude-from=<file>]
|
||||||
[--exclude-per-directory=<file>]
|
[--exclude-per-directory=<file>]
|
||||||
[--exclude-standard]
|
[--exclude-standard]
|
||||||
[--error-unmatch] [--with-tree=<tree-ish>]
|
[--error-unmatch] [--with-tree=<tree-ish>]
|
||||||
[--full-name] [--abbrev] [--] [<file>]\*
|
[--full-name] [--abbrev] [--] [<file>]*
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -8,7 +8,7 @@ git-merge-index - Run a merge for files needing merging
|
|||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>\*)
|
'git merge-index' [-o] [-q] <merge-program> (-a | [--] <file>*)
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -7,7 +7,7 @@ git-relink - Hardlink common objects in local repositories
|
|||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git relink' [--safe] <dir> [<dir>]\* <master_dir>
|
'git relink' [--safe] <dir> [<dir>]* <master_dir>
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -12,7 +12,7 @@ SYNOPSIS
|
|||||||
'git update-index'
|
'git update-index'
|
||||||
[--add] [--remove | --force-remove] [--replace]
|
[--add] [--remove | --force-remove] [--replace]
|
||||||
[--refresh] [-q] [--unmerged] [--ignore-missing]
|
[--refresh] [-q] [--unmerged] [--ignore-missing]
|
||||||
[--cacheinfo <mode> <object> <file>]\*
|
[--cacheinfo <mode> <object> <file>]*
|
||||||
[--chmod=(+|-)x]
|
[--chmod=(+|-)x]
|
||||||
[--assume-unchanged | --no-assume-unchanged]
|
[--assume-unchanged | --no-assume-unchanged]
|
||||||
[--skip-worktree | --no-skip-worktree]
|
[--skip-worktree | --no-skip-worktree]
|
||||||
@ -21,7 +21,7 @@ SYNOPSIS
|
|||||||
[--info-only] [--index-info]
|
[--info-only] [--index-info]
|
||||||
[-z] [--stdin]
|
[-z] [--stdin]
|
||||||
[--verbose]
|
[--verbose]
|
||||||
[--] [<file>]\*
|
[--] [<file>]*
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
Loading…
Reference in New Issue
Block a user