From 56322d0a53c9aa560d03874dc4f871b69868e814 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Mon, 30 Nov 2020 01:09:11 -0600 Subject: [PATCH] cmd: matching help output to docs (#4989) * cmd: matching help output to docs per https://github.com/iterative/dvc.org/pull/1971#pullrequestreview-538749492 and https://github.com/iterative/dvc.org/pull/1978#pullrequestreview-540445147 * fetch: simplify help text per https://github.com/iterative/dvc.org/pull/1978#pullrequestreview-540447055 --- dvc/command/data_sync.py | 5 +---- dvc/command/remove.py | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index a6f810c83..a7697f152 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -237,10 +237,7 @@ 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 = "Download cached files or directories from remote storage." fetch_parser = subparsers.add_parser( "fetch", diff --git a/dvc/command/remove.py b/dvc/command/remove.py index a816ac031..74a178a5f 100644 --- a/dvc/command/remove.py +++ b/dvc/command/remove.py @@ -21,7 +21,8 @@ class CmdRemove(CmdBase): def add_parser(subparsers, parent_parser): REMOVE_HELP = ( - "Remove stage entry, remove .gitignore entry and unprotect outputs" + "Remove stages or .dvc files, unprotect their outputs, and" + " erase .gitignore entries." ) remove_parser = subparsers.add_parser( "remove",