aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--cgitize/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgitize/main.py b/cgitize/main.py
index 08d18df..e787861 100644
--- a/cgitize/main.py
+++ b/cgitize/main.py
@@ -29,8 +29,8 @@ def parse_args(argv=None):
return parser.parse_args(argv)
-def main(args=None):
- args = parse_args()
+def main(argv=None):
+ args = parse_args(argv)
with setup_logging(args.verbose):
config = Config.read(args.config)
cgit_server = CGitServer(config.main.clone_url)