Skip to content

Commit 437591a

Browse files
phillipwoodgitster
authored andcommitted
show --continue/skip etc. consistently in synopsis
Command mode options that the user can choose one among many are listed like this in the documentation: git am (--continue | --skip | --abort | --quit) They are listed on a single line and in parenthesis, because they are not optional. But documentation pages for some commands deviate from this norm. Fix the merge and rebase docs to match this style. Signed-off-by: Phillip Wood <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f3f8311 commit 437591a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Documentation/git-merge.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ SYNOPSIS
1313
[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]
1414
[--[no-]allow-unrelated-histories]
1515
[--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [<commit>...]
16-
'git merge' --abort
17-
'git merge' --continue
16+
'git merge' (--continue | --abort | --quit)
1817

1918
DESCRIPTION
2019
-----------

Documentation/git-rebase.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SYNOPSIS
1212
[<upstream> [<branch>]]
1313
'git rebase' [-i | --interactive] [<options>] [--exec <cmd>] [--onto <newbase>]
1414
--root [<branch>]
15-
'git rebase' --continue | --skip | --abort | --quit | --edit-todo | --show-current-patch
15+
'git rebase' (--continue | --skip | --abort | --quit | --edit-todo | --show-current-patch)
1616

1717
DESCRIPTION
1818
-----------

0 commit comments

Comments
 (0)