Merge pull request #517 from yuvipanda/help

Provide help text for commandline arguments

Co-authored-by: Min RK <benjaminrk@gmail.com>
pull/786/head
Tim Head 2019-09-08 07:29:49 +02:00 zatwierdzone przez GitHub
commit e646419e19
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 11 usunięć

Wyświetl plik

@ -177,17 +177,9 @@ def get_argparser():
argparser.add_argument("--target-repo-dir", help=Repo2Docker.target_repo_dir.help)
argparser.add_argument(
"--appendix",
type=str,
# help=self.traits()['appendix'].help,
)
argparser.add_argument("--appendix", type=str, help=Repo2Docker.appendix.help)
argparser.add_argument(
"--subdir",
type=str,
# help=self.traits()['subdir'].help,
)
argparser.add_argument("--subdir", type=str, help=Repo2Docker.subdir.help)
argparser.add_argument(
"--version",
@ -196,7 +188,9 @@ def get_argparser():
help="Print the repo2docker version and exit.",
)
argparser.add_argument("--cache-from", action="append", default=[])
argparser.add_argument(
"--cache-from", action="append", default=[], help=Repo2Docker.cache_from.help
)
return argparser