From 4157a7b1671e3478831482c4b1426f6c70a40973 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Mon, 26 Aug 2019 23:46:55 -0400 Subject: [PATCH] Changing flag back for backwards compatability --- jetforce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetforce.py b/jetforce.py index a964d3e..23bf015 100755 --- a/jetforce.py +++ b/jetforce.py @@ -574,7 +574,7 @@ def run_server() -> None: """ parser = command_line_parser() parser.add_argument( - "--root-dir", help="Root path on the filesystem to serve", default="/var/gemini" + "--dir", help="Root path on the filesystem to serve", default="/var/gemini" ) parser.add_argument( "--cgi-dir", @@ -586,7 +586,7 @@ def run_server() -> None: ) args = parser.parse_args() - app = StaticDirectoryApplication(args.root_dir, args.index_file, args.cgi_dir) + app = StaticDirectoryApplication(args.dir, args.index_file, args.cgi_dir) server = GeminiServer( host=args.host, port=args.port,