Changing flag back for backwards compatability

This commit is contained in:
Michael Lazar 2019-08-26 23:46:55 -04:00
parent 84a2349651
commit 4157a7b167
1 changed files with 2 additions and 2 deletions

View File

@ -574,7 +574,7 @@ def run_server() -> None:
""" """
parser = command_line_parser() parser = command_line_parser()
parser.add_argument( 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( parser.add_argument(
"--cgi-dir", "--cgi-dir",
@ -586,7 +586,7 @@ def run_server() -> None:
) )
args = parser.parse_args() 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( server = GeminiServer(
host=args.host, host=args.host,
port=args.port, port=args.port,