summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-27 14:01:22 +0000
committerDenis Vlasenko2008-09-27 14:01:22 +0000
commitbed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e (patch)
treeb10a0bd2e8a115f679cd0b955fc6661cea3e2d8a /include/usage.h
parent682ad3045c11f6d8961306b1a364289c2aae35ef (diff)
downloadbusybox-bed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e.zip
busybox-bed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e.tar.gz
sendmail: compat update by Vladimir
function old new delta sendgetmail_main 1889 2091 +202 putchar_unlocked - 43 +43 putchar - 43 +43 packed_usage 24868 24910 +42 smtp_checkp 102 111 +9 uuencode 235 227 -8 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8) Total: 331 bytes
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h
index d60ffef..a5234e0 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3467,20 +3467,25 @@
#define sendmail_trivial_usage \
"[-w timeout] [-H [user:pass@]server[:port]] [-S]\n" \
- "[-c charset] [-N type] [-i] [-s subject] [-a attach]... [-t] [-f sender] [rcpt]..."
+ "[-N type] [-f sender] [-F fullname] " \
+ USE_FEATURE_SENDMAIL_MAILX("[-s subject] [-c charset] [-a attach]... ") "[-t] [rcpt]..."
#define sendmail_full_usage "\n\n" \
"Send an email\n" \
"\nOptions:" \
"\n -w timeout Network timeout" \
"\n -H [user:pass@]server[:port] Server" \
"\n -S Use openssl connection helper for secure servers" \
- "\n -c charset Assume charset for body and subject (utf-8)" \
"\n -N type Request delivery notification. Type is ignored" \
- "\n -i Ignore single dots in mail body. Implied" \
+ "\n -f sender Sender" \
+ "\n -F fullname Sender full name. Overrides $NAME" \
+ USE_FEATURE_SENDMAIL_MAILX( \
"\n -s subject Subject" \
+ "\n -c charset Assume charset for body and subject (" CONFIG_FEATURE_SENDMAIL_CHARSET ")" \
"\n -a file File to attach. May be multiple" \
+ )
"\n -t Read recipients and subject from body" \
- "\n -f sender Sender" \
+ "\n" \
+ "\nOther options are silently ignored; -oi is implied" \
#define seq_trivial_usage \
"[first [increment]] last"