From 86d1018963e408c4a15058e955fb488f49ec3d12 Mon Sep 17 00:00:00 2001 From: Jeremy Maurer Date: Sun, 8 Sep 2024 20:15:04 -0500 Subject: [PATCH] fix template generation arguments --- tools/RAiDER/cli/raider.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/RAiDER/cli/raider.py b/tools/RAiDER/cli/raider.py index ced83c26..2bc74b65 100644 --- a/tools/RAiDER/cli/raider.py +++ b/tools/RAiDER/cli/raider.py @@ -182,17 +182,19 @@ def calcDelays(iargs: Optional[Sequence[str]]=None) -> list[Path]: # Generate an example configuration file, OR # run with a configuration file. - group = p.add_mutually_exclusive_group(required=True) + group = p.add_mutually_exclusive_group(required=False) group.add_argument( '--generate_config', '-g', nargs='?', + const='template', choices=[ 'template', 'example_LA_bbox', 'example_LA_GNSS', 'example_UK_isce', ], + default='template', help='Generate an example run configuration and exit', ) group.add_argument(