From 2430cb5dea9e70154c02c5e0f9302ca896fc81a7 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Wed, 29 Jan 2020 00:08:12 -0600 Subject: [PATCH] diff: remve unused DIFF_HELP --- dvc/command/diff.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dvc/command/diff.py b/dvc/command/diff.py index 26df3c0d1..e606f692b 100644 --- a/dvc/command/diff.py +++ b/dvc/command/diff.py @@ -136,15 +136,14 @@ class CmdDiff(CmdBase): def add_parser(subparsers, parent_parser): DIFF_DESCRIPTION = ( - "Show diff of a data file or a directory that is under DVC control.\n" - "Some basic statistics summary, how many files were deleted/changed." + "Show changes between revisions of the DVC repository.\n" + "Summary of how many files were deleted/changed, et al." ) - DIFF_HELP = "Show a diff of a DVC controlled data file or a directory." diff_parser = subparsers.add_parser( "diff", parents=[parent_parser], description=append_doc_link(DIFF_DESCRIPTION, "diff"), - help=DIFF_HELP, + help=DIFF_DESCRIPTION, formatter_class=argparse.RawDescriptionHelpFormatter, ) diff_parser.add_argument(