From d8ead196eb1c9745fb0782370fe467ebe3f33762 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Sun, 10 Nov 2013 21:50:09 -0600 Subject: [PATCH] Added Debug flag (currently unused). --- plinth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plinth.py b/plinth.py index 00a626ccb..7b3407c84 100755 --- a/plinth.py +++ b/plinth.py @@ -88,10 +88,13 @@ def parse_arguments(): # FIXME make this work with basehref for static files. parser.add_argument('--server_dir', help='specify where to host the server.') + parser.add_argument("--debug", action="store_true", + help="Debug flag. Don't use.") args=parser.parse_args() set_config(args, "pidfile", "plinth.pid") set_config(args, "server_dir", "/") + set_config(args, "debug", False) return cfg