mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-06 06:37:36 +03:00
Add '--foreground' flag
This commit is contained in:
parent
eaa737313b
commit
6e08a8da82
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue