Skip to content

Commit

Permalink
Merge pull request iterative#2134 from vibhor98/order-options
Browse files Browse the repository at this point in the history
Fix iterative#2063: Standardise order of command options in help messages
  • Loading branch information
efiop authored Jun 19, 2019
2 parents 676021d + 55d3153 commit 58f233c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dvc/command/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ def add_parser(subparsers, parent_parser):
formatter_class=argparse.RawDescriptionHelpFormatter,
)
checkout_parser.add_argument(
"-d",
"--with-deps",
"-f",
"--force",
action="store_true",
default=False,
help="Checkout all dependencies of the specified target.",
help="Do not prompt when removing working directory files.",
)
checkout_parser.add_argument(
"-f",
"--force",
"-d",
"--with-deps",
action="store_true",
default=False,
help="Do not prompt when removing working directory files.",
help="Checkout all dependencies of the specified target.",
)
checkout_parser.add_argument(
"-R",
Expand Down
12 changes: 6 additions & 6 deletions dvc/command/data_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,18 @@ def add_parser(subparsers, _parent_parser):
help="Fetch cache for all tags.",
)
pull_parser.add_argument(
"-d",
"--with-deps",
"-f",
"--force",
action="store_true",
default=False,
help="Fetch cache for all dependencies of the specified target.",
help="Do not prompt when removing working directory files.",
)
pull_parser.add_argument(
"-f",
"--force",
"-d",
"--with-deps",
action="store_true",
default=False,
help="Do not prompt when removing working directory files.",
help="Fetch cache for all dependencies of the specified target.",
)
pull_parser.add_argument(
"-R",
Expand Down

0 comments on commit 58f233c

Please sign in to comment.