From f4d91b35d7c98cfe0334821f6dd3cc83c387e5ee Mon Sep 17 00:00:00 2001 From: Nate Gadzhibalaev Date: Wed, 1 Apr 2020 04:00:16 -0700 Subject: [PATCH] CLI: Fixed cmds help strings (#3566) This fixes a few command help string outputs that were cut short because of a typo. --- dvc/command/data_sync.py | 6 ++++-- dvc/command/diff.py | 2 +- dvc/command/repro.py | 5 +++-- dvc/command/version.py | 6 +++--- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index ab99bf3ae2..e44e8ea7aa 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -195,8 +195,10 @@ def add_parser(subparsers, _parent_parser): push_parser.set_defaults(func=CmdDataPush) # Fetch - FETCH_HELP = "Get tracked files or directories from remote storage" - " into the cache." + FETCH_HELP = ( + "Get tracked files or directories from remote storage" + " into the cache." + ) fetch_parser = subparsers.add_parser( "fetch", diff --git a/dvc/command/diff.py b/dvc/command/diff.py index 804e65fd80..c907fc0dff 100644 --- a/dvc/command/diff.py +++ b/dvc/command/diff.py @@ -121,7 +121,7 @@ def run(self): def add_parser(subparsers, parent_parser): DIFF_DESCRIPTION = ( "Show changes between commits in the DVC repository," - " or between a commit and the workspace." + " or between a commit and the workspace. " "Prints the list of paths added, modified, or deleted." ) diff_parser = subparsers.add_parser( diff --git a/dvc/command/repro.py b/dvc/command/repro.py index 63f532f4e0..138de04fea 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -57,8 +57,9 @@ def run(self): def add_parser(subparsers, parent_parser): - REPRO_HELP = "Reproduce complete or partial pipelines" - " by executing their stages." + REPRO_HELP = ( + "Reproduce complete or partial pipelines by executing their stages." + ) repro_parser = subparsers.add_parser( "repro", parents=[parent_parser], diff --git a/dvc/command/version.py b/dvc/command/version.py index 8356cb402b..f110d68ea4 100644 --- a/dvc/command/version.py +++ b/dvc/command/version.py @@ -142,9 +142,9 @@ def _get_dvc_repo_info(repo): def add_parser(subparsers, parent_parser): - VERSION_HELP = "Display the DVC version" - " and system/environment information." - + VERSION_HELP = ( + "Display the DVC version and system/environment information." + ) version_parser = subparsers.add_parser( "version", parents=[parent_parser],