diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/usage.h b/include/usage.h index 0ef17b520..989ed9134 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3135,26 +3135,28 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3135 | #define selinuxenabled_full_usage | 3135 | #define selinuxenabled_full_usage |
3136 | 3136 | ||
3137 | #define sendmail_trivial_usage \ | 3137 | #define sendmail_trivial_usage \ |
3138 | "[-d] {-t to}+ [-f from] [-n[notify]] [-s subject] [-b file]*\n" \ | 3138 | "{-t to}+ {-f from} [-n[notify]] [-s subject] [-b file]*\n" \ |
3139 | "[-a attachment]* [-c charset] [-w timeout] [-h server] [-p port] [-U user] [-P password]" | 3139 | "[-a attachment]* [-c charset]" \ |
3140 | USE_FEATURE_SENDMAIL_NETWORK("\n" \ | ||
3141 | " [-d] [-w timeout] [-h server] [-p port] [-U user] [-P password]" \ | ||
3142 | ) | ||
3140 | #define sendmail_full_usage \ | 3143 | #define sendmail_full_usage \ |
3141 | "Send an email from to with subject and optional attachments.\n" \ | 3144 | "Send an email <from> <to> with <subject> and optional attachments." \ |
3142 | "Body is read from stdin or from optional files" \ | ||
3143 | "\n\nArguments:\n" \ | 3145 | "\n\nArguments:\n" \ |
3144 | " -d Just dump composed message\n" \ | ||
3145 | " -t to Recipient email. May be multiple\n" \ | 3146 | " -t to Recipient email. May be multiple\n" \ |
3146 | " -f from Sender email\n" \ | 3147 | " -f from Sender address\n" \ |
3147 | " -n[notify] Optional notification address. If just -n given then notifies the sender\n" \ | 3148 | " -n[notify] Optional notification address. If just -n given then notifies the sender\n" \ |
3148 | " -s subject Optional subject\n" \ | 3149 | " -s subject Optional subject\n" \ |
3149 | " -b filename Optional body content file. May be multiple\n" \ | 3150 | " -b filename Optional body content file. May be multiple\n" \ |
3150 | " -a filename Optional file attachment. May be multiple\n" \ | 3151 | " -a filename Optional file attachment. May be multiple\n" \ |
3151 | " -c charset Assumed charset for body and subject [koi8-r]" \ | 3152 | " -c charset Assumed charset for body and subject [koi8-r]" \ |
3152 | USE_FEATURE_SENDMAIL_NETWORK("\n" \ | 3153 | USE_FEATURE_SENDMAIL_NETWORK("\n" \ |
3154 | " -d Just dump composed message\n" \ | ||
3153 | " -w timeout Set timeout on network operations\n" \ | 3155 | " -w timeout Set timeout on network operations\n" \ |
3154 | " -h server Optional mail server name or IP [127.0.0.1]\n" \ | 3156 | " -h server Optional mail server name or IP [127.0.0.1]\n" \ |
3155 | " -p port Optional mail server port [25]\n" \ | 3157 | " -p port Optional mail server port [25]\n" \ |
3156 | " -U username Authenticate using AUTH LOGIN with specified username\n" \ | 3158 | " -U username Authenticate using AUTH LOGIN with specified username\n" \ |
3157 | " -P password Authenticate using AUTH LOGIN with specified password"\ | 3159 | " -P password Authenticate using AUTH LOGIN with specified password" \ |
3158 | ) | 3160 | ) |
3159 | 3161 | ||
3160 | #define seq_trivial_usage \ | 3162 | #define seq_trivial_usage \ |