Fix ident

This commit is contained in:
Benjamin Renard 2015-11-16 18:43:30 +01:00
parent 96ea97697f
commit e5b04b88d4

104
imapt
View file

@ -34,76 +34,76 @@ parser = OptionParser()
parser.add_option('-H', parser.add_option('-H',
'--host', '--host',
action="store", action="store",
type="string", type="string",
dest="host", dest="host",
help="The IMAP host", help="The IMAP host",
default="127.0.0.1") default="127.0.0.1")
parser.add_option('-p', parser.add_option('-p',
'--port', '--port',
action="store", action="store",
type="string", type="string",
dest="port", dest="port",
help="The IMAP port", help="The IMAP port",
default=None) default=None)
parser.add_option('-S', parser.add_option('-S',
'--ssl', '--ssl',
action="store_true", action="store_true",
dest="ssl", dest="ssl",
help="IMAP Over SSL (IMAPS)", help="IMAP Over SSL (IMAPS)",
default=False) default=False)
parser.add_option('-U', parser.add_option('-U',
'--user', '--user',
action="store", action="store",
type="string", type="string",
dest="user", dest="user",
help="User login", help="User login",
default=None) default=None)
parser.add_option('-P', parser.add_option('-P',
'--password', '--password',
action="store", action="store",
type="string", type="string",
dest="password", dest="password",
help="User password", help="User password",
default=None) default=None)
parser.add_option('--md5', parser.add_option('--md5',
action="store_true", action="store_true",
dest="md5", dest="md5",
help="Use CRAM-MD5 password for authentication", help="Use CRAM-MD5 password for authentication",
default=False) default=False)
parser.add_option('-m', parser.add_option('-m',
'--mailbox', '--mailbox',
action="store", action="store",
type="string", type="string",
dest="mailbox", dest="mailbox",
help="The mailbox directory to select", help="The mailbox directory to select",
default='INBOX') default='INBOX')
parser.add_option('-v', parser.add_option('-v',
'--verbose', '--verbose',
action="store_true", action="store_true",
dest="verbose") dest="verbose")
parser.add_option('-l', parser.add_option('-l',
'--list', '--list',
action="store_true", action="store_true",
dest="list", dest="list",
help="List mailboxes", help="List mailboxes",
default=False) default=False)
parser.add_option('--expunge', parser.add_option('--expunge',
action="store", action="store",
type="string", type="string",
dest="expunge", dest="expunge",
help="Expunge mailbox specify (ALL to expunge all mailboxes)", help="Expunge mailbox specify (ALL to expunge all mailboxes)",
default=None) default=None)
(options, args) = parser.parse_args() (options, args) = parser.parse_args()