Skip to content

Commit

Permalink
Merge pull request #517 from yuvipanda/help
Browse files Browse the repository at this point in the history
Provide help text for commandline arguments

Co-authored-by: Min RK <benjaminrk@gmail.com>
  • Loading branch information
betatim and minrk committed Sep 8, 2019
2 parents 8ef5faa + 088cf6e commit e646419
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions repo2docker/__main__.py
Expand Up @@ -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",
Expand All @@ -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

Expand Down

0 comments on commit e646419

Please sign in to comment.