Skip to content

Commit d95dad4

Browse files
HCookiegmertes
andauthored
Apply suggestions from code review
Co-authored-by: Gert Mertes <[email protected]>
1 parent db7627b commit d95dad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/anemoi/inference/commands/redefine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def add_arguments(self, command_parser: ArgumentParser) -> None:
6969
group = command_parser.add_mutually_exclusive_group(required=True)
7070

7171
group.add_argument("-g", "--graph", type=Path, help="Path to graph file to use")
72-
group.add_argument("-y", "--graph_config", type=Path, help="Path to graph config to use")
72+
group.add_argument("-y", "--graph-config", type=Path, help="Path to graph config to use")
7373
group.add_argument(
7474
"-ll",
7575
"--latlon",
@@ -80,7 +80,7 @@ def add_arguments(self, command_parser: ArgumentParser) -> None:
8080

8181
command_parser.add_argument(
8282
"-gr",
83-
"--global_resolution",
83+
"--global-resolution",
8484
type=str,
8585
help="Global grid resolution required with --coords, (e.g. n320, o96).",
8686
)

0 commit comments

Comments
 (0)