Skip to content

Commit a2ce608

Browse files
thiagowfxgitster
authored andcommitted
send-email docs: add format-patch options
git-send-email(1) does not mention that "git format-patch" options are accepted. Augment SYNOPSIS and DESCRIPTION to mention it. Update git-send-email.perl USAGE to be consistent with git-send-email(1). Signed-off-by: Thiago Perrotta <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2b7b758 commit a2ce608

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Documentation/git-send-email.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ git-send-email - Send a collection of patches as emails
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git send-email' [<options>] <file|directory|rev-list options>...
12+
'git send-email' [<options>] <file|directory>...
13+
'git send-email' [<options>] <format-patch options>
1314
'git send-email' --dump-aliases
1415

1516

@@ -19,7 +20,8 @@ Takes the patches given on the command line and emails them out.
1920
Patches can be specified as files, directories (which will send all
2021
files in the directory), or directly as a revision list. In the
2122
last case, any format accepted by linkgit:git-format-patch[1] can
22-
be passed to git send-email.
23+
be passed to git send-email, as well as options understood by
24+
linkgit:git-format-patch[1].
2325

2426
The header of the email is configurable via command-line options. If not
2527
specified on the command line, the user will be prompted with a ReadLine

git-send-email.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ package main;
4040

4141
sub usage {
4242
print <<EOT;
43-
git send-email [options] <file | directory | rev-list options >
43+
git send-email' [<options>] <file|directory>
44+
git send-email' [<options>] <format-patch options>
4445
git send-email --dump-aliases
4546
4647
Composing:

0 commit comments

Comments
 (0)