Add '--foreground' flag

This commit is contained in:
René 'Necoro' Neumann 2010-08-03 23:32:44 +02:00
parent eaa737313b
commit 6e08a8da82

View File

@ -51,6 +51,9 @@ parser.add_option(
"-d", "--daemon", action="store_true",
default=radicale.config.getboolean("server", "daemon"),
help="launch as daemon")
parser.add_option(
"-f", "--foreground", action="store_false", dest="daemon",
help="launch in foreground (opposite of --daemon)")
parser.add_option(
"-H", "--host",
default=radicale.config.get("server", "host"),