Skip to content

Commit e646419

Browse files
betatimminrk
andauthored
Merge pull request #517 from yuvipanda/help
Provide help text for commandline arguments Co-authored-by: Min RK <[email protected]>
2 parents 8ef5faa + 088cf6e commit e646419

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

repo2docker/__main__.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,9 @@ def get_argparser():
177177

178178
argparser.add_argument("--target-repo-dir", help=Repo2Docker.target_repo_dir.help)
179179

180-
argparser.add_argument(
181-
"--appendix",
182-
type=str,
183-
# help=self.traits()['appendix'].help,
184-
)
180+
argparser.add_argument("--appendix", type=str, help=Repo2Docker.appendix.help)
185181

186-
argparser.add_argument(
187-
"--subdir",
188-
type=str,
189-
# help=self.traits()['subdir'].help,
190-
)
182+
argparser.add_argument("--subdir", type=str, help=Repo2Docker.subdir.help)
191183

192184
argparser.add_argument(
193185
"--version",
@@ -196,7 +188,9 @@ def get_argparser():
196188
help="Print the repo2docker version and exit.",
197189
)
198190

199-
argparser.add_argument("--cache-from", action="append", default=[])
191+
argparser.add_argument(
192+
"--cache-from", action="append", default=[], help=Repo2Docker.cache_from.help
193+
)
200194

201195
return argparser
202196

0 commit comments

Comments
 (0)