]> git.ipfire.org Git - thirdparty/git.git/commitdiff
send-email docs: add format-patch options
authorThiago Perrotta <tbperrotta@gmail.com>
Mon, 25 Oct 2021 21:27:07 +0000 (17:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Oct 2021 16:06:15 +0000 (09:06 -0700)
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>
Documentation/git-send-email.txt
git-send-email.perl

index 3db4eab4ba70634b354a40e3a0ab6b71d719623b..41cd8cb42472a71d93f4f2f6379445f453b7be06 100644 (file)
@@ -9,7 +9,8 @@ git-send-email - Send a collection of patches as emails
 SYNOPSIS
 --------
 [verse]
-'git send-email' [<options>] <file|directory|rev-list options>...
+'git send-email' [<options>] <file|directory>...
+'git send-email' [<options>] <format-patch options>
 'git send-email' --dump-aliases
 
 
@@ -19,7 +20,8 @@ Takes the patches given on the command line and emails them out.
 Patches can be specified as files, directories (which will send all
 files in the directory), or directly as a revision list.  In the
 last case, any format accepted by linkgit:git-format-patch[1] can
-be passed to git send-email.
+be passed to git send-email, as well as options understood by
+linkgit:git-format-patch[1].
 
 The header of the email is configurable via command-line options.  If not
 specified on the command line, the user will be prompted with a ReadLine
index d34c1afd4fcc327d4e38703ae0471988a02da505..04087221aa7407bce8f722eaef82131692845159 100755 (executable)
@@ -40,7 +40,8 @@ package main;
 
 sub usage {
        print <<EOT;
-git send-email [options] <file | directory | rev-list options >
+git send-email' [<options>] <file|directory>
+git send-email' [<options>] <format-patch options>
 git send-email --dump-aliases
 
   Composing: