From 9b460ccd4b17f05919b33e0d276490af21f6990c Mon Sep 17 00:00:00 2001 From: Luis Pedro Coelho Date: Thu, 11 Jun 2020 20:45:42 +0200 Subject: [PATCH] BUG Fix passing an argument to jug.main() --- ChangeLog | 1 + jug/jug.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0d7fce3f..1236ff8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ Post version 2.0.0+ * Fix handling of `JUG_EXIT_IF_FILE_EXISTS` environmental variable + * Fix passing an argument to jug.main() function Post version 2.0.0 * Extend `--pdb` to exceptions raised while importing the jugfile (issue diff --git a/jug/jug.py b/jug/jug.py index 55b907fc..1c037077 100644 --- a/jug/jug.py +++ b/jug/jug.py @@ -244,7 +244,7 @@ def main(argv=None): from .options import parse if argv is None: from sys import argv - options = parse() + options = parse(argv) jugspace = None store = None