Revision e7e09483 lib/cli.py

b/lib/cli.py
44 44

  
45 45
__all__ = [
46 46
  # Command line options
47
  "ALLOCATABLE_OPT",
47 48
  "ALL_OPT",
48 49
  "AUTO_REPLACE_OPT",
49 50
  "BACKEND_OPT",
......
710 711
                         choices=_YESNO, default=None,
711 712
                         help="Set the drained flag on the node")
712 713

  
714
ALLOCATABLE_OPT = cli_option("--allocatable", dest="allocatable",
715
                             choices=_YESNO, default=None, metavar=_YORNO,
716
                             help="Set the allocatable flag on a volume")
717

  
713 718

  
714 719
def _ParseArgs(argv, commands, aliases):
715 720
  """Parser for the command line arguments.

Also available in: Unified diff