Skip to content

Commit

Permalink
areusch review: s/-d/--template-dir/ to avoid having to set metavar
Browse files Browse the repository at this point in the history
  • Loading branch information
gromero committed Oct 22, 2021
1 parent 16635d2 commit e2acda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/driver/tvmc/micro.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _add_parser(parser, platform):

new_parser = o[0].add_parser("template", add_help=False, help="select an adhoc template.")
new_parser.add_argument(
"-d", metavar="TEMPLATE_DIR", required=True, help="project API template directory."
"--template-dir", required=True, help="Project API template directory."
)
new_parser.set_defaults(platform="template")
parser_by_platform["template"] = new_parser
Expand Down

0 comments on commit e2acda0

Please sign in to comment.