From f24dc72bcbc731a9799dfe76572567eec6ae98d3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 16 Jul 2018 00:45:32 +0100 Subject: set default argparse config argument to bot.conf --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.py b/start.py index 53cba532..50a20728 100755 --- a/start.py +++ b/start.py @@ -9,7 +9,7 @@ def bool_input(s): arg_parser = argparse.ArgumentParser( description="Python3 event-driven asynchronous modular IRC bot") -arg_parser.add_argument("--config", "-c", default="bot.json", +arg_parser.add_argument("--config", "-c", default="bot.conf", help="Location of the JSON config file") arg_parser.add_argument("--database", "-d", default="bot.db", help="Location of the sqlite3 database file") -- cgit v1.3.1-10-gc9f91