From cb4a745d1bd5233b5f1644eec350a309707aa256 Mon Sep 17 00:00:00 2001 From: Sanidhya Mangal Date: Wed, 12 Jun 2019 13:59:07 +0530 Subject: [PATCH 1/5] updated: help message for shared parent parser --- dvc/command/data_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index ccf9f5906..5ad724000 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -116,7 +116,7 @@ def shared_parent_parser(): "targets", nargs="*", default=None, - help="Limit the scope to these stage files.", + help="Limit the scope to these DVC-files. With -R a directory to search DVC-files in can be specified.", ) return shared_parent_parser From 498bbc647dd0f8c23663b1d0b53de81c25a1a7de Mon Sep 17 00:00:00 2001 From: Sanidhya Mangal Date: Thu, 13 Jun 2019 22:49:39 +0530 Subject: [PATCH 2/5] fixed: lenghty message in help command --- dvc/command/data_sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 5ad724000..60157c1ed 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -116,7 +116,8 @@ def shared_parent_parser(): "targets", nargs="*", default=None, - help="Limit the scope to these DVC-files. With -R a directory to search DVC-files in can be specified.", + help="""Limit the scope to these DVC-files. + With -R a directory to search DVC-files can be specified.""", ) return shared_parent_parser From 47cb449165292cbcdc9d5e8fe05a8a926a507b42 Mon Sep 17 00:00:00 2001 From: Sanidhya Mangal Date: Thu, 13 Jun 2019 23:00:25 +0530 Subject: [PATCH 3/5] fixed: whitespace error --- dvc/command/data_sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 60157c1ed..97ad139ba 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -116,8 +116,7 @@ def shared_parent_parser(): "targets", nargs="*", default=None, - help="""Limit the scope to these DVC-files. - With -R a directory to search DVC-files can be specified.""", + help="Limit the scope to these DVC-files. With -R a directory to search DVC-files can be specified.", ) return shared_parent_parser From a8319181957f09e91243e0e76b1f5a49a3c78792 Mon Sep 17 00:00:00 2001 From: Sanidhya Mangal Date: Thu, 13 Jun 2019 23:07:29 +0530 Subject: [PATCH 4/5] fixed: splited helper text in data sync --- dvc/command/data_sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 97ad139ba..a6c33feea 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -116,7 +116,8 @@ def shared_parent_parser(): "targets", nargs="*", default=None, - help="Limit the scope to these DVC-files. With -R a directory to search DVC-files can be specified.", + help="""Limit the scope to these DVC-files. + With -R a directory to search DVC-files in can be specified.""", ) return shared_parent_parser From f39bb551d75d86bf77eccadd30c57ef0e7a0e59c Mon Sep 17 00:00:00 2001 From: Sanidhya Mangal Date: Fri, 14 Jun 2019 02:49:14 +0530 Subject: [PATCH 5/5] fixed: split lines for datasync --- dvc/command/data_sync.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index a6c33feea..5f3c2a4a8 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -116,8 +116,10 @@ def shared_parent_parser(): "targets", nargs="*", default=None, - help="""Limit the scope to these DVC-files. - With -R a directory to search DVC-files in can be specified.""", + help=( + "Limit the scope to these DVC-files." + " With -R a directory to search DVC-files in can be specified." + ), ) return shared_parent_parser