Add a --no-ssl option, closes bug #160

This commit is contained in:
Guillaume Ayoub 2010-08-04 01:29:32 +02:00
parent 342e6072c2
commit e091541679

View File

@ -66,6 +66,9 @@ parser.add_option(
"-s", "--ssl", action="store_true", "-s", "--ssl", action="store_true",
default=radicale.config.getboolean("server", "ssl"), default=radicale.config.getboolean("server", "ssl"),
help="use SSL connection") help="use SSL connection")
parser.add_option(
"-S", "--no-ssl", action="store_false", dest="ssl",
help="do not use SSL connection (opposite of --ssl)")
parser.add_option( parser.add_option(
"-k", "--key", "-k", "--key",
default=radicale.config.get("server", "key"), default=radicale.config.get("server", "key"),