def add_opts(self, optparser):
optlist = [
optparse.make_option("--oc-jstree-no-path",
dest="jstree_no_path",
action="store_true",
help="""Do not include paths to make
page less wide"""),
optparse.make_option("--oc-jstree-strip",
dest="strip_namespace",
action="store_true",
help="""Strip namespace prefixes from
path components"""),
]
g = optparser.add_option_group("OpenConfig JSTree output specific options")
g.add_options(optlist)
评论列表
文章目录