diff --git a/examples/examples_module_generator/_auto_modules/main.py b/examples/examples_module_generator/_auto_modules/main.py index 6534e883..0c409705 100644 --- a/examples/examples_module_generator/_auto_modules/main.py +++ b/examples/examples_module_generator/_auto_modules/main.py @@ -751,7 +751,7 @@ def str_to_bool(x): parser.add_argument('--image-order-limit', type=int, - default=3, + default=None, help='The highest-order image to sum over. Either a positive integer, or do not pass an argument if a hard limit is not desired.', comment_line_above='global resolution flags') diff --git a/xpsi/module_generator.py b/xpsi/module_generator.py index 9fa5c86d..0428fa91 100644 --- a/xpsi/module_generator.py +++ b/xpsi/module_generator.py @@ -1278,7 +1278,7 @@ def __call__(self, parser, namespace, values, option_string=None): ''' parser.add_argument('--image-order-limit', type=int, - default=3, + default=None, help='The highest-order image to sum over. Either a positive integer, or do not pass an argument if a hard limit is not desired.', comment_line_above='global resolution flags') '''