mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Added Debug flag (currently unused).
This commit is contained in:
parent
d08f139c22
commit
d8ead196eb
@ -88,10 +88,13 @@ def parse_arguments():
|
|||||||
# FIXME make this work with basehref for static files.
|
# FIXME make this work with basehref for static files.
|
||||||
parser.add_argument('--server_dir',
|
parser.add_argument('--server_dir',
|
||||||
help='specify where to host the server.')
|
help='specify where to host the server.')
|
||||||
|
parser.add_argument("--debug", action="store_true",
|
||||||
|
help="Debug flag. Don't use.")
|
||||||
|
|
||||||
args=parser.parse_args()
|
args=parser.parse_args()
|
||||||
set_config(args, "pidfile", "plinth.pid")
|
set_config(args, "pidfile", "plinth.pid")
|
||||||
set_config(args, "server_dir", "/")
|
set_config(args, "server_dir", "/")
|
||||||
|
set_config(args, "debug", False)
|
||||||
|
|
||||||
return cfg
|
return cfg
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user