command: rever accidental narg="+" changes in recent commit

Per https://github.com/iterative/dvc/pull/2112#pullrequestreview-255082022
This commit is contained in:
Jorge Orpinel
2019-06-27 12:23:45 -05:00
parent a927a506a7
commit 5ba3b547ba
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ def add_parser(subparsers, parent_parser):
formatter_class=argparse.RawDescriptionHelpFormatter,
)
lock_parser.add_argument(
"targets", nargs="*", help="DVC-files to lock. Optional."
"targets", nargs="+", help="DVC-files to lock. Optional."
)
lock_parser.set_defaults(func=CmdLock)
@@ -59,6 +59,6 @@ def add_parser(subparsers, parent_parser):
formatter_class=argparse.RawDescriptionHelpFormatter,
)
unlock_parser.add_argument(
"targets", nargs="*", help="DVC-files to unlock. Optional."
"targets", nargs="+", help="DVC-files to unlock. Optional."
)
unlock_parser.set_defaults(func=CmdUnlock)
+1 -1
View File
@@ -75,7 +75,7 @@ def add_parser(subparsers, parent_parser):
)
remove_parser.add_argument(
"targets",
nargs="*",
nargs="+",
help="DVC-files to remove. Optional."
"(Finds all DVC-files in the workspace by default.)",
)