File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Changelog
1010* 👽 Handle changes from C-PAC 1.7 to 1.8
1111* 👷 Move tests from Travis to GitHub Actions
1212* 📝 Note needlessness of crash command for C-PAC ≥ 1.8.0
13+ * 🚸 Use repeated flags in place of multi-value tags
1314
1415`Version 0.3.1 <https://github.com/FCP-INDI/cpac/releases/tag/v0.3.1 >`_
1516=======================================================================
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def _parser():
7474 parser .add_argument (
7575 '-o' , '--container_option' ,
7676 dest = 'container_option' ,
77- nargs = '* ' ,
77+ action = 'append ' ,
7878 help = 'parameters and flags to pass through to Docker or Singularity\n '
7979 '\n This flag can take multiple arguments so cannot '
8080 'be\n the final argument before the command argument (i.e.,\n run '
@@ -85,7 +85,7 @@ def _parser():
8585 parser .add_argument (
8686 '-B' , '--custom_binding' ,
8787 dest = 'custom_binding' ,
88- nargs = '* ' ,
88+ action = 'append ' ,
8989 help = 'directories to bind with a different path in\n the container '
9090 'than the real path of the directory.\n One or more pairs in the '
9191 'format:\n \t real_path:container_path\n (eg, '
You can’t perform that action at this time.
0 commit comments