def _make_option(command, help, dest):
# If dest is something, store it, otherwise just use store_true
action="store_true"
if dest is not None:
action="store"
return make_option('--' + command, action=action, help=help, dest=dest)
评论列表
文章目录