Add '--foreground' flag
This commit is contained in:
parent
eaa737313b
commit
6e08a8da82
@ -51,6 +51,9 @@ parser.add_option(
|
|||||||
"-d", "--daemon", action="store_true",
|
"-d", "--daemon", action="store_true",
|
||||||
default=radicale.config.getboolean("server", "daemon"),
|
default=radicale.config.getboolean("server", "daemon"),
|
||||||
help="launch as 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(
|
parser.add_option(
|
||||||
"-H", "--host",
|
"-H", "--host",
|
||||||
default=radicale.config.get("server", "host"),
|
default=radicale.config.get("server", "host"),
|
||||||
|
Loading…
Reference in New Issue
Block a user