From 62ee6b6b9a18c342ee34c9682439c358b58e6239 Mon Sep 17 00:00:00 2001 From: vibhor98 Date: Wed, 19 Jun 2019 20:55:46 +0530 Subject: [PATCH] Made review changes. --- dvc/command/checkout.py | 14 +++++++------- dvc/command/commit.py | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dvc/command/checkout.py b/dvc/command/checkout.py index 99d376542..6637140b2 100644 --- a/dvc/command/checkout.py +++ b/dvc/command/checkout.py @@ -30,13 +30,6 @@ def add_parser(subparsers, parent_parser): help=CHECKOUT_HELP, formatter_class=argparse.RawDescriptionHelpFormatter, ) - checkout_parser.add_argument( - "-d", - "--with-deps", - action="store_true", - default=False, - help="Checkout all dependencies of the specified target.", - ) checkout_parser.add_argument( "-f", "--force", @@ -44,6 +37,13 @@ def add_parser(subparsers, parent_parser): default=False, help="Do not prompt when removing working directory files.", ) + checkout_parser.add_argument( + "-d", + "--with-deps", + action="store_true", + default=False, + help="Checkout all dependencies of the specified target.", + ) checkout_parser.add_argument( "-R", "--recursive", diff --git a/dvc/command/commit.py b/dvc/command/commit.py index 14a6e097a..8ba3b99f3 100644 --- a/dvc/command/commit.py +++ b/dvc/command/commit.py @@ -43,13 +43,6 @@ def add_parser(subparsers, parent_parser): help=COMMIT_HELP, formatter_class=argparse.RawDescriptionHelpFormatter, ) - commit_parser.add_argument( - "-d", - "--with-deps", - action="store_true", - default=False, - help="Commit all dependencies of the specified target.", - ) commit_parser.add_argument( "-f", "--force", @@ -57,6 +50,13 @@ def add_parser(subparsers, parent_parser): default=False, help="Commit even if checksums for dependencies/outputs changed.", ) + commit_parser.add_argument( + "-d", + "--with-deps", + action="store_true", + default=False, + help="Commit all dependencies of the specified target.", + ) commit_parser.add_argument( "-R", "--recursive",