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