Skip to content

Commit e44d7bd

Browse files
authored
Merge pull request #372 from gabridele/dash-syntaxCLI
Uniformize CLI named arguments to dash-only syntax
2 parents 7bd4c73 + bf9e9dd commit e44d7bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cubids/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _parse_validate():
7474
default=None,
7575
)
7676
parser.add_argument(
77-
"--ignore_nifti_headers",
77+
"--ignore-nifti-headers",
7878
action="store_true",
7979
default=False,
8080
help="Disregard NIfTI header content during validation",

cubids/workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def validate(
231231
linked_output_prefix_t,
232232
]
233233
if ignore_nifti_headers:
234-
cmd.append("--ignore_nifti_headers")
234+
cmd.append("--ignore-nifti-headers")
235235

236236
elif container_type == "singularity":
237237
cmd = [
@@ -250,7 +250,7 @@ def validate(
250250
linked_output_prefix_t,
251251
]
252252
if ignore_nifti_headers:
253-
cmd.append("--ignore_nifti_headers")
253+
cmd.append("--ignore-nifti-headers")
254254

255255
if sequential:
256256
cmd.append("--sequential")

0 commit comments

Comments
 (0)