def add_opts(self, optparser):
optlist = [
optparse.make_option("--openconfig",
dest="openconfig",
action="store_true",
help="""Validate the module(s) according to
OpenConfig conventions"""),
optparse.make_option("--oc-only",
dest="openconfig_only",
action="store_true",
help="""Do not include standard lint (RFC 6087)
checking"""),
]
g = optparser.add_option_group("OpenConfig specific options")
g.add_options(optlist)
评论列表
文章目录