Commit d2b17e37 authored by Guido Trotter's avatar Guido Trotter
Browse files

cluster-merge: remove option list from usage



It doesn't make sense to have to keep them up to date twice, and --help
already lists all of them with help strings.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 620a9c62
......@@ -709,15 +709,8 @@ def main():
"""
program = os.path.basename(sys.argv[0])
parser = optparse.OptionParser(usage=("%%prog [--debug|--verbose]"
" [--watcher-pause-period SECONDS]"
" [--groups [%s|%s]]"
" [--restart [%s|%s|%s]]"
" <cluster> [<cluster...>]" %
(_GROUPS_MERGE, _GROUPS_RENAME,
_RESTART_ALL, _RESTART_UP,
_RESTART_NONE)),
prog=program)
parser = optparse.OptionParser(usage="%%prog [options...] <cluster...>",
prog=program)
parser.add_option(cli.DEBUG_OPT)
parser.add_option(cli.VERBOSE_OPT)
parser.add_option(PAUSE_PERIOD_OPT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment