Move man doc links to descriptions, fix some help copies (#1805)

* move man doc links to descriptions, fix some help copies

* minor init force message fix

* deal with ugly inheritance in lock base

* remove unnecessary super calls

* add return back to python lock/unlock run functions
This commit is contained in:
Ivan Shcheklein
2019-03-29 03:56:41 +02:00
committed by Ruslan Kuprieiev
parent 6f9dac280f
commit 4a9188c0b5
23 changed files with 252 additions and 202 deletions
+7 -6
View File
@@ -1,8 +1,10 @@
from __future__ import unicode_literals
import argparse
import dvc.logger as logger
from dvc.exceptions import DvcException
from dvc.command.base import CmdBase
from dvc.command.base import CmdBase, append_doc_link
class CmdCommit(CmdBase):
@@ -29,15 +31,14 @@ class CmdCommit(CmdBase):
def add_parser(subparsers, parent_parser):
COMMIT_HELP = (
"Record changes to the repository.\n"
"documentation: https://man.dvc.org/commit"
)
COMMIT_HELP = "Save changed data to cache and update DVC files."
commit_parser = subparsers.add_parser(
"commit",
parents=[parent_parser],
description=COMMIT_HELP,
description=append_doc_link(COMMIT_HELP, "commit"),
help=COMMIT_HELP,
formatter_class=argparse.RawDescriptionHelpFormatter,
)
commit_parser.add_argument(
"-f",