summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-10 12:01:14 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-03-10 12:01:14 (GMT)
commiteae697fb93362dd51365fdd5283128cb339b91c2 (patch)
treefd333f7f8b7a14d8e3e079fc87a4e73691fdae02
parentd2b04050c0a9a15e29e15cbf9c487db93d07c46e (diff)
downloadbusybox-eae697fb93362dd51365fdd5283128cb339b91c2.tar.gz
busybox-eae697fb93362dd51365fdd5283128cb339b91c2.tar.bz2
popmaildir: give examples in help text. +91 byte
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/usage.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 4af90c4..f4259a1 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3484,13 +3484,18 @@
/* "\n -c Use tcpclient. Ignored" */ \
/* "\n -a Use APOP protocol. Implied. If server supports APOP -> use it" */ \
"\n -s Skip authorization" \
- "\n -T Get messages with TOP instead with RETR" \
+ "\n -T Get messages with TOP instead of RETR" \
"\n -k Keep retrieved messages on the server" \
"\n -t SEC Network timeout" \
IF_FEATURE_POPMAILDIR_DELIVERY( \
- "\n -F \"PROG ARGS\" Filter program. May be multiple" \
+ "\n -F \"PROG ARGS\" Filter program (may be repeated)" \
"\n -M \"PROG ARGS\" Delivery program" \
) \
+ "\n" \
+ "\nFetch from plain POP3 server:" \
+ "\npopmaildir -k DIR nc pop3.server.com 110 <user_and_pass.txt" \
+ "\nFetch from SSLed POP3 server and delete fetched emails:" \
+ "\npopmaildir DIR -- openssl s_client -quiet -connect pop3.server.com:995 <user_and_pass.txt"
/* "\n -R BYTES Remove old messages on the server >= BYTES. Ignored" */
/* "\n -Z N1-N2 Remove messages from N1 to N2 (dangerous). Ignored" */
/* "\n -L BYTES Don't retrieve new messages >= BYTES. Ignored" */