mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
Merge pull request #1532 from iterative/move-description-improvements
Move description improvements
This commit is contained in:
+9
-5
@@ -16,12 +16,16 @@ class CmdMove(CmdBase):
|
||||
|
||||
|
||||
def add_parser(subparsers, parent_parser):
|
||||
MOVE_HELP = 'Move output of DVC file.'
|
||||
description = "Rename or move a data file or a directory that "\
|
||||
"is under DVC control. It renames and modifies "\
|
||||
"the corresponding DVC file to reflect the changes."
|
||||
help = "Rename or move a DVC controlled data file or a directory."
|
||||
move_parser = subparsers.add_parser(
|
||||
'move',
|
||||
parents=[parent_parser],
|
||||
description=MOVE_HELP,
|
||||
help=MOVE_HELP)
|
||||
move_parser.add_argument('src', help='Source.')
|
||||
move_parser.add_argument('dst', help='Destination.')
|
||||
description=description,
|
||||
help=help)
|
||||
move_parser.add_argument('src',
|
||||
help='Source path to a data file or directory.')
|
||||
move_parser.add_argument('dst', help='Destination path.')
|
||||
move_parser.set_defaults(func=CmdMove)
|
||||
|
||||
Reference in New Issue
Block a user