Browse Source

Docs: send-email: Create logical groupings for --help text

The options are partitioned into more digestible groups.

Signed-off-by: Michael Witten <mfwitten@mit.edu>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
maint
Michael Witten 16 years ago committed by Shawn O. Pearce
parent
commit
4ed62b0316
  1. 61
      git-send-email.perl

61
git-send-email.perl

@ -39,33 +39,40 @@ package main;
sub usage { sub usage {
print <<EOT; print <<EOT;
git send-email [options] <file | directory>... git send-email [options] <file | directory>...
Options:
--identity <str> * Use the sendemail.<id> options. Composing:
--from <str> * Email From: --from <str> * Email From:
--envelope-sender <str> * Email envelope sender. --to <str> * Email To:
--to <str> * Email To: --cc <str> * Email Cc:
--cc <str> * Email Cc: --bcc <str> * Email Bcc:
--cc-cmd <str> * Email Cc: via `<str> \$patch_path` --subject <str> * Email "Subject:"
--bcc <str> * Email Bcc: --in-reply-to <str> * Email "In-Reply-To:"
--subject <str> * Email "Subject:" (only if --compose). --compose * Open an editor for introduction.
--compose * Open an editor for introduction.
--in-reply-to <str> * First "In-Reply-To:" (only if --compose). Sending:
--[no-]chain-reply-to * Chain In-Reply-To: fields. Default on. --envelope-sender <str> * Email envelope sender.
--[no-]thread * Use In-Reply-To: field. Default on. --smtp-server <str:int> * Outgoing SMTP server to use. The port
--[no-]signed-off-by-cc * Actually send to Cc: and Signed-off-by: is optional. Default 'localhost'.
addresses. Default on. --smtp-server-port <int> * Outgoing SMTP server port.
--suppress-cc <str> * author, self, sob, cccmd, all. --smtp-user <str> * Username for SMTP-AUTH.
--[no-]suppress-from * Don't send email to self. Default off. --smtp-pass <str> * Password for SMTP-AUTH; not necessary.
--smtp-server <str:int> * Outgoing SMTP server to use. The port --smtp-encryption <str> * tls or ssl; anything else disables.
is optional. Default 'localhost'. --smtp-ssl * Deprecated. Use '--smtp-encryption ssl'.
--smtp-server-port <int> * Outgoing SMTP server port.
--smtp-user <str> * The username for SMTP-AUTH. Automating:
--smtp-pass <str> * The password for SMTP-AUTH; not necessary. --identity <str> * Use the sendemail.<id> options.
--smtp-encryption <str> * tls or ssl; anything else disables. --cc-cmd <str> * Email Cc: via `<str> \$patch_path`
--smtp-ssl * Deprecated. Use '--smtp-encryption ssl'. --suppress-cc <str> * author, self, sob, cccmd, all.
--quiet * Output one line of info per email. --[no-]signed-off-by-cc * Send to Cc: and Signed-off-by:
--dry-run * Don't actually send the emails. addresses. Default on.
--[no-]validate * Perform patch sanity checks. Default on. --[no-]suppress-from * Send to self. Default off.
--[no-]chain-reply-to * Chain In-Reply-To: fields. Default on.
--[no-]thread * Use In-Reply-To: field. Default on.

Administering:
--quiet * Output one line of info per email.
--dry-run * Don't actually send the emails.
--[no-]validate * Perform patch sanity checks. Default on.


EOT EOT
exit(1); exit(1);

Loading…
Cancel
Save