Skip to content

Commit

Permalink
fix template generation arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmaurer committed Sep 9, 2024
1 parent 7c53b96 commit 86d1018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/RAiDER/cli/raider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 86d1018

Please sign in to comment.