|
14 | 14 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
15 | 15 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
16 | 16 | # |
17 | | -# $Id: roundup_mailgw.py,v 1.16 2004-05-12 17:50:58 a1s Exp $ |
| 17 | +# $Id: roundup_mailgw.py,v 1.17 2004-05-18 19:26:32 a1s Exp $ |
18 | 18 |
|
19 | 19 | """Command-line script stub that calls the roundup.mailgw. |
20 | 20 | """ |
|
32 | 32 | def usage(args, message=None): |
33 | 33 | if message is not None: |
34 | 34 | print message |
35 | | - print _('Usage: %(program)s [-v] [[-C class] -S field=value]* <instance ' |
36 | | - 'home> [method]')%{'program': args[0]} |
37 | | - print _(''' |
| 35 | + print _( |
| 36 | +"""Usage: %(program)s [-v] [[-C class] -S field=value]* <instance home> [method] |
| 37 | +
|
38 | 38 | Options: |
39 | 39 | -v: print version and exit |
40 | 40 | -C / -S: see below |
41 | 41 |
|
42 | 42 | The roundup mail gateway may be called in one of four ways: |
43 | 43 | . with an instance home as the only argument, |
44 | | - . with both an instance home and a mail spool file, or |
45 | | - . with both an instance home and a POP/APOP server account. |
| 44 | + . with both an instance home and a mail spool file, |
| 45 | + . with both an instance home and a POP/APOP server account, or |
46 | 46 | . with both an instance home and a IMAP/IMAPS server account. |
47 | 47 |
|
48 | 48 | It also supports optional -C and -S arguments that allows you to set a |
@@ -94,7 +94,7 @@ def usage(args, message=None): |
94 | 94 | This supports the same notation as IMAP. |
95 | 95 | imaps username:password@server [mailbox] |
96 | 96 |
|
97 | | -''') |
| 97 | +""")%{'program': args[0]} |
98 | 98 | return 1 |
99 | 99 |
|
100 | 100 | def main(argv): |
|
0 commit comments