Revision 1f587d3d lib/cli.py

b/lib/cli.py
103 103
  "USEUNITS_OPT",
104 104
  "VERBOSE_OPT",
105 105
  "VG_NAME_OPT",
106
  "YES_DOIT_OPT",
106 107
  # Generic functions for CLI programs
107 108
  "GenericMain",
108 109
  "GetClient",
......
743 744
                         " name (cluster-wide) for disk allocation [xenvg]",
744 745
                         metavar="VG", default=None)
745 746

  
747
YES_DOIT_OPT = cli_option("--yes-do-it", dest="yes_do_it",
748
                          help="Destroy cluster", action="store_true")
746 749

  
747 750

  
748 751
def _ParseArgs(argv, commands, aliases):

Also available in: Unified diff