From 4ed62b0316619b70e9dc9868e93c33815ff678d5 Mon Sep 17 00:00:00 2001 From: Michael Witten Date: Tue, 30 Sep 2008 07:58:30 -0500 Subject: [PATCH] Docs: send-email: Create logical groupings for --help text The options are partitioned into more digestible groups. Signed-off-by: Michael Witten Acked-by: Jeff King Signed-off-by: Shawn O. Pearce --- git-send-email.perl | 61 +++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 27 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index 3467cf1cc..80dae88c7 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -39,33 +39,40 @@ package main; sub usage { print <... -Options: - --identity * Use the sendemail. options. - --from * Email From: - --envelope-sender * Email envelope sender. - --to * Email To: - --cc * Email Cc: - --cc-cmd * Email Cc: via ` \$patch_path` - --bcc * Email Bcc: - --subject * Email "Subject:" (only if --compose). - --compose * Open an editor for introduction. - --in-reply-to * First "In-Reply-To:" (only if --compose). - --[no-]chain-reply-to * Chain In-Reply-To: fields. Default on. - --[no-]thread * Use In-Reply-To: field. Default on. - --[no-]signed-off-by-cc * Actually send to Cc: and Signed-off-by: - addresses. Default on. - --suppress-cc * author, self, sob, cccmd, all. - --[no-]suppress-from * Don't send email to self. Default off. - --smtp-server * Outgoing SMTP server to use. The port - is optional. Default 'localhost'. - --smtp-server-port * Outgoing SMTP server port. - --smtp-user * The username for SMTP-AUTH. - --smtp-pass * The password for SMTP-AUTH; not necessary. - --smtp-encryption * tls or ssl; anything else disables. - --smtp-ssl * Deprecated. Use '--smtp-encryption ssl'. - --quiet * Output one line of info per email. - --dry-run * Don't actually send the emails. - --[no-]validate * Perform patch sanity checks. Default on. + + Composing: + --from * Email From: + --to * Email To: + --cc * Email Cc: + --bcc * Email Bcc: + --subject * Email "Subject:" + --in-reply-to * Email "In-Reply-To:" + --compose * Open an editor for introduction. + + Sending: + --envelope-sender * Email envelope sender. + --smtp-server * Outgoing SMTP server to use. The port + is optional. Default 'localhost'. + --smtp-server-port * Outgoing SMTP server port. + --smtp-user * Username for SMTP-AUTH. + --smtp-pass * Password for SMTP-AUTH; not necessary. + --smtp-encryption * tls or ssl; anything else disables. + --smtp-ssl * Deprecated. Use '--smtp-encryption ssl'. + + Automating: + --identity * Use the sendemail. options. + --cc-cmd * Email Cc: via ` \$patch_path` + --suppress-cc * author, self, sob, cccmd, all. + --[no-]signed-off-by-cc * Send to Cc: and Signed-off-by: + addresses. 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 exit(1); -- 2.26.2