diff roundup/scripts/roundup_mailgw.py @ 7082:f0d39308819f

Update manpage of mailgw Fix minor issues (ssl -> tls/ssl), --default-class option with '-' instead of underscore.
author Ralf Schlatterbeck <rsc@runtux.com>
date Sun, 27 Nov 2022 11:00:00 +0100
parents f918351a0fe6
children 24e867f846dd
line wrap: on
line diff
--- a/roundup/scripts/roundup_mailgw.py	Sat Nov 26 11:32:12 2022 +0100
+++ b/roundup/scripts/roundup_mailgw.py	Sun Nov 27 11:00:00 2022 +0100
@@ -94,7 +94,7 @@
  are both valid.
 
 POPS:
- Connect to a POP server over ssl.
+ Connect to a POP server over ssl/tls.
  This supports the same notation as POP.
 
 APOP:
@@ -110,17 +110,17 @@
     imap username:password@server mailbox
 
 IMAPS:
- Connect to an IMAP server over ssl.
+ Connect to an IMAP server over ssl/tls.
  This supports the same notation as IMAP.
     imaps username:password@server [mailbox]
 
 IMAPS_CRAM:
- Connect to an IMAP server over ssl using CRAM-MD5 authentication.
+ Connect to an IMAP server over ssl/tls using CRAM-MD5 authentication.
  This supports the same notation as IMAP.
     imaps_cram username:password@server [mailbox]
 
 IMAPS_OAUTH:
- Connect to an IMAP server over ssl using OAUTH authentication.
+ Connect to an IMAP server over ssl/tls using OAUTH authentication.
  Note that this does not support a password in imaps URLs.
  Instead it uses only the user and server and a command-line option for
  the directory with the files 'access_token', 'refresh_token',
@@ -150,7 +150,7 @@
     cmd.add_argument('args', nargs='*')
     cmd.add_argument('-v', '--version', action='store_true',
         help='print version and exit')
-    cmd.add_argument('-c', '--default_class', default='',
+    cmd.add_argument('-c', '--default-class', default='',
         help="Default class of item to create (else the tracker's "
         "MAILGW_DEFAULT_CLASS)")
     cmd.add_argument('-O', '--oauth-directory',

Roundup Issue Tracker: http://roundup-tracker.org/