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 <tbperrotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Thiago Perrotta committed Oct 25, 2021 at 17:27 UTC a2ce60824481de986a56b8ea77b0a80fc342aef1
2 files changed +6 -3
Documentation/git-send-email.txt
+4 -2
@@ -9,7 +9,8 @@ git-send-email - Send a collection of patches as emails
9 SYNOPSIS
10 --------
11 [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>
14 'git send-email' --dump-aliases
15
16
@@ -19,7 +20,8 @@ Takes the patches given on the command line and emails them out.
20 Patches can be specified as files, directories (which will send all
21 files in the directory), or directly as a revision list. In the
22 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].
25
26 The header of the email is configurable via command-line options. If not
27 specified on the command line, the user will be prompted with a ReadLine
git-send-email.perl
+2 -1
@@ -40,7 +40,8 @@ package main;
40
41 sub usage {
42 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>
45 git send-email --dump-aliases
46
47 Composing: