diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 23:41:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 23:41:38 +0000 |
commit | b9d572a2733fa20957a9a3287bd04d66176e3b6a (patch) | |
tree | 2b9ff7454709e84b02e644db4914ad9d4b739e68 /include/usage.h | |
parent | f10bc3964f1d92fa83ec97a625fca33ce1592f26 (diff) | |
download | busybox-w32-b9d572a2733fa20957a9a3287bd04d66176e3b6a.tar.gz busybox-w32-b9d572a2733fa20957a9a3287bd04d66176e3b6a.tar.bz2 busybox-w32-b9d572a2733fa20957a9a3287bd04d66176e3b6a.zip |
total overhaul of mail applets. again. Vladimir as usual.
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 74 |
1 files changed, 56 insertions, 18 deletions
diff --git a/include/usage.h b/include/usage.h index 4ee82059e..19af3486a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1095,18 +1095,6 @@ | |||
1095 | "\n -H HEADS\n" \ | 1095 | "\n -H HEADS\n" \ |
1096 | "\n -S SECTORS" \ | 1096 | "\n -S SECTORS" \ |
1097 | 1097 | ||
1098 | #define fetchmail_trivial_usage \ | ||
1099 | "[-w timeout] [-H [user:pass@]server[:port]] [-S] [-t] [-z] maildir [prog]" | ||
1100 | #define fetchmail_full_usage "\n\n" \ | ||
1101 | "Fetch content of remote mailbox to local maildir\n" \ | ||
1102 | "\nOptions:" \ | ||
1103 | "\n -w timeout Network timeout" \ | ||
1104 | "\n -H [user:pass@]server[:port] Server" \ | ||
1105 | "\n -S Use openssl connection helper for secure servers" \ | ||
1106 | "\n -t Get only headers" \ | ||
1107 | "\n -z Delete messages on server" \ | ||
1108 | "\n prog Run 'prog <message_file>' on message delivery" \ | ||
1109 | |||
1110 | #define blkid_trivial_usage \ | 1098 | #define blkid_trivial_usage \ |
1111 | "" | 1099 | "" |
1112 | #define blkid_full_usage "\n\n" \ | 1100 | #define blkid_full_usage "\n\n" \ |
@@ -2378,6 +2366,16 @@ | |||
2378 | "/dev/hda[0-15]\n" | 2366 | "/dev/hda[0-15]\n" |
2379 | #endif | 2367 | #endif |
2380 | 2368 | ||
2369 | #define makemime_trivial_usage \ | ||
2370 | "[OPTION]... [FILE]..." | ||
2371 | #define makemime_full_usage "\n\n" \ | ||
2372 | "Create MIME-encoded message\n" \ | ||
2373 | "\nOptions:" \ | ||
2374 | "\n -C Charset" \ | ||
2375 | "\n -e Tranfer encoding. Ignored. base64 is assumed" \ | ||
2376 | "\n" \ | ||
2377 | "\nOther options are silently ignored." \ | ||
2378 | |||
2381 | #define man_trivial_usage \ | 2379 | #define man_trivial_usage \ |
2382 | "[OPTION]... [MANPAGE]..." | 2380 | "[OPTION]... [MANPAGE]..." |
2383 | #define man_full_usage "\n\n" \ | 2381 | #define man_full_usage "\n\n" \ |
@@ -3095,6 +3093,33 @@ | |||
3095 | "\n -v Negate the matching" \ | 3093 | "\n -v Negate the matching" \ |
3096 | "\n -x Match whole name (not substring)" \ | 3094 | "\n -x Match whole name (not substring)" \ |
3097 | 3095 | ||
3096 | #define popmaildir_trivial_usage \ | ||
3097 | "[OPTIONS] Maildir [connection-helper ...]" | ||
3098 | #define popmaildir_full_usage "\n\n" \ | ||
3099 | "Fetch content of remote mailbox to local maildir\n" \ | ||
3100 | "\nOptions:" \ | ||
3101 | "\n -b Binary mode. Ignored" \ | ||
3102 | "\n -d Debug. Ignored" \ | ||
3103 | "\n -m Show used memory. Ignored" \ | ||
3104 | "\n -V Show version. Ignored" \ | ||
3105 | "\n -c Use tcpclient. Ignored" \ | ||
3106 | "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" \ | ||
3107 | "\n -s Skip authorization" \ | ||
3108 | "\n -T Get messages with TOP instead with RETR" \ | ||
3109 | "\n -k Keep retrieved messages on the server" \ | ||
3110 | "\n -t timeout Set network timeout" \ | ||
3111 | USE_FEATURE_POPMAILDIR_DELIVERY( \ | ||
3112 | "\n -F \"program arg1 arg2 ...\" Filter by program. May be multiple" \ | ||
3113 | "\n -M \"program arg1 arg2 ...\" Deliver by program" \ | ||
3114 | ) \ | ||
3115 | "\n -R size Remove old messages on the server >= size (in bytes). Ignored" \ | ||
3116 | "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" \ | ||
3117 | "\n -L size Do not retrieve new messages >= size (in bytes). Ignored" \ | ||
3118 | "\n -H lines Type specified number of lines of a message. Ignored" | ||
3119 | #define popmaildir_example_usage \ | ||
3120 | "$ popmaildir -k ~/Maildir -- nc pop.drvv.ru 110 [<password_file]\n" \ | ||
3121 | "$ popmaildir ~/Maildir -- openssl s_client -quiet -connect pop.gmail.com:995 [<password_file]\n" | ||
3122 | |||
3098 | #define poweroff_trivial_usage \ | 3123 | #define poweroff_trivial_usage \ |
3099 | "[-d delay] [-n] [-f]" | 3124 | "[-d delay] [-n] [-f]" |
3100 | #define poweroff_full_usage "\n\n" \ | 3125 | #define poweroff_full_usage "\n\n" \ |
@@ -3250,6 +3275,17 @@ | |||
3250 | "\n -n No call to sync()" \ | 3275 | "\n -n No call to sync()" \ |
3251 | "\n -f Force reboot (don't go through init)" \ | 3276 | "\n -f Force reboot (don't go through init)" \ |
3252 | 3277 | ||
3278 | #define reformime_trivial_usage \ | ||
3279 | "[OPTION]... [FILE]..." | ||
3280 | #define reformime_full_usage "\n\n" \ | ||
3281 | "Parse MIME-encoded message\n" \ | ||
3282 | "\nOptions:" \ | ||
3283 | "\n -x prefix Extract content of MIME sections to files" \ | ||
3284 | "\n -X prog [args] Filter content of MIME sections through prog." \ | ||
3285 | "\n Must be the last option" \ | ||
3286 | "\n" \ | ||
3287 | "\nOther options are silently ignored." \ | ||
3288 | |||
3253 | #define renice_trivial_usage \ | 3289 | #define renice_trivial_usage \ |
3254 | "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]" | 3290 | "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]" |
3255 | #define renice_full_usage "\n\n" \ | 3291 | #define renice_full_usage "\n\n" \ |
@@ -3484,9 +3520,7 @@ | |||
3484 | #define selinuxenabled_full_usage "" | 3520 | #define selinuxenabled_full_usage "" |
3485 | 3521 | ||
3486 | #define sendmail_trivial_usage \ | 3522 | #define sendmail_trivial_usage \ |
3487 | "[-w timeout] [-H [user:pass@]server[:port]] [-S]\n" \ | 3523 | "[OPTIONS] [rcpt]..." |
3488 | "[-N type] [-f sender] [-F fullname] " \ | ||
3489 | USE_FEATURE_SENDMAIL_MAILX("[-s subject] [-c cc-rcpt]... [-j charset] [-a attach]... [-e err-rcpt] ") "[-t] [rcpt]..." | ||
3490 | #define sendmail_full_usage "\n\n" \ | 3524 | #define sendmail_full_usage "\n\n" \ |
3491 | "Send an email\n" \ | 3525 | "Send an email\n" \ |
3492 | "\nOptions:" \ | 3526 | "\nOptions:" \ |
@@ -3498,11 +3532,15 @@ | |||
3498 | "\n -F fullname Sender full name. Overrides $NAME" \ | 3532 | "\n -F fullname Sender full name. Overrides $NAME" \ |
3499 | USE_FEATURE_SENDMAIL_MAILX( \ | 3533 | USE_FEATURE_SENDMAIL_MAILX( \ |
3500 | "\n -s subject Subject" \ | 3534 | "\n -s subject Subject" \ |
3501 | "\n -c rcpt Cc: recipient. May be multiple" \ | 3535 | "\n -j charset Assume charset for body and subject (" CONFIG_FEATURE_MIME_CHARSET ")" \ |
3502 | "\n -j charset Assume charset for body and subject (" CONFIG_FEATURE_SENDMAIL_CHARSET ")" \ | ||
3503 | "\n -a file File to attach. May be multiple" \ | 3536 | "\n -a file File to attach. May be multiple" \ |
3537 | "\n -H \"prog args...\" Use external connection helper. E.g. openssl for secure servers" \ | ||
3538 | "\n -S server[:port] Server" \ | ||
3539 | ) \ | ||
3540 | USE_FEATURE_SENDMAIL_MAILXX( \ | ||
3541 | "\n -c rcpt Cc: recipient. May be multiple" \ | ||
3504 | "\n -e rcpt Errors-To: recipient" \ | 3542 | "\n -e rcpt Errors-To: recipient" \ |
3505 | ) | 3543 | ) |
3506 | "\n -t Read recipients and subject from body" \ | 3544 | "\n -t Read recipients and subject from body" \ |
3507 | "\n" \ | 3545 | "\n" \ |
3508 | "\nOther options are silently ignored; -oi is implied" \ | 3546 | "\nOther options are silently ignored; -oi is implied" \ |