diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-29 16:53:25 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-29 16:53:25 +0000 |
commit | a6eb7f4ddf998cdff0453425102297147371fbd3 (patch) | |
tree | 6b1d8cd95851dc3ce12104c12c27248e8e1d8326 | |
parent | e1de3af9892a89156c109befa13403359ee8568f (diff) | |
download | busybox-w32-a6eb7f4ddf998cdff0453425102297147371fbd3.tar.gz busybox-w32-a6eb7f4ddf998cdff0453425102297147371fbd3.tar.bz2 busybox-w32-a6eb7f4ddf998cdff0453425102297147371fbd3.zip |
sendmail: add more example in usage text
-rw-r--r-- | include/usage.h | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/include/usage.h b/include/usage.h index 16d5eec9f..5b824cd13 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3552,17 +3552,17 @@ | |||
3552 | "Output a cpio archive of the rpm file" | 3552 | "Output a cpio archive of the rpm file" |
3553 | 3553 | ||
3554 | #define rtcwake_trivial_usage \ | 3554 | #define rtcwake_trivial_usage \ |
3555 | "[-a | -l | -u] [-d DEV] [-m MODE] [-s SECS | -t TIME]" | 3555 | "[-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]" |
3556 | #define rtcwake_full_usage "\n\n" \ | 3556 | #define rtcwake_full_usage "\n\n" \ |
3557 | "Enter a system sleep state until specified wakeup time\n" \ | 3557 | "Enter a system sleep state until specified wakeup time\n" \ |
3558 | USE_GETOPT_LONG( \ | 3558 | USE_GETOPT_LONG( \ |
3559 | "\n -a,--auto Read clock mode from adjtime" \ | 3559 | "\n -a,--auto Read clock mode from adjtime" \ |
3560 | "\n -l,--local Clock is set to local time" \ | 3560 | "\n -l,--local Clock is set to local time" \ |
3561 | "\n -u,--utc Clock is set to UTC time" \ | 3561 | "\n -u,--utc Clock is set to UTC time" \ |
3562 | "\n -d,--device=DEV Specify the RTC device" \ | 3562 | "\n -d,--device=DEV Specify the RTC device" \ |
3563 | "\n -m,--mode=MODE Set the sleep state (default: standby)" \ | 3563 | "\n -m,--mode=MODE Set the sleep state (default: standby)" \ |
3564 | "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ | 3564 | "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ |
3565 | "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ | 3565 | "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ |
3566 | ) \ | 3566 | ) \ |
3567 | SKIP_GETOPT_LONG( \ | 3567 | SKIP_GETOPT_LONG( \ |
3568 | "\n -a Read clock mode from adjtime" \ | 3568 | "\n -a Read clock mode from adjtime" \ |
@@ -3695,16 +3695,20 @@ | |||
3695 | "\n -s subject Subject" \ | 3695 | "\n -s subject Subject" \ |
3696 | "\n -j charset Assume charset for body and subject (" CONFIG_FEATURE_MIME_CHARSET ")" \ | 3696 | "\n -j charset Assume charset for body and subject (" CONFIG_FEATURE_MIME_CHARSET ")" \ |
3697 | "\n -a file File to attach. May be repeated" \ | 3697 | "\n -a file File to attach. May be repeated" \ |
3698 | "\n -H 'prog args' Run connection helper. E.g. openssl for encryption:" \ | 3698 | "\n -H 'prog args' Run connection helper" \ |
3699 | "\n Examples:" \ | ||
3699 | "\n -H 'exec openssl s_client -quiet -tls1 -starttls smtp" \ | 3700 | "\n -H 'exec openssl s_client -quiet -tls1 -starttls smtp" \ |
3700 | "\n -connect smtp.gmail.com:25' <email.txt" \ | 3701 | "\n -connect smtp.gmail.com:25' <email.txt" \ |
3701 | "\n [4<username_and_passwd.txt]" \ | 3702 | "\n [4<username_and_passwd.txt]" \ |
3703 | "\n -H 'exec openssl s_client -quiet -tls1" \ | ||
3704 | "\n -connect smtp.gmail.com:465' <email.txt" \ | ||
3705 | "\n [4<username_and_passwd.txt]" \ | ||
3702 | "\n -S server[:port] Server" \ | 3706 | "\n -S server[:port] Server" \ |
3703 | ) \ | 3707 | ) \ |
3704 | USE_FEATURE_SENDMAIL_MAILXX( \ | 3708 | USE_FEATURE_SENDMAIL_MAILXX( \ |
3705 | "\n -c rcpt Cc: recipient. May be repeated" \ | 3709 | "\n -c rcpt Cc: recipient. May be repeated" \ |
3706 | "\n -e rcpt Errors-To: recipient" \ | 3710 | "\n -e rcpt Errors-To: recipient" \ |
3707 | ) \ | 3711 | ) \ |
3708 | "\n -t Read recipients and subject from body" \ | 3712 | "\n -t Read recipients and subject from body" \ |
3709 | "\n" \ | 3713 | "\n" \ |
3710 | "\nOther options are silently ignored; -oi is implied" \ | 3714 | "\nOther options are silently ignored; -oi is implied" \ |