Revision b58726e8 lib/cli.py

b/lib/cli.py
102 102
  "TAG_SRC_OPT",
103 103
  "USEUNITS_OPT",
104 104
  "VERBOSE_OPT",
105
  "VG_NAME_OPT",
105 106
  # Generic functions for CLI programs
106 107
  "GenericMain",
107 108
  "GetClient",
......
737 738
                         dest="candidate_pool_size", type="int",
738 739
                         help="Set the candidate pool size")
739 740

  
741
VG_NAME_OPT = cli_option("-g", "--vg-name", dest="vg_name",
742
                         help="Enables LVM and specifies the volume group"
743
                         " name (cluster-wide) for disk allocation [xenvg]",
744
                         metavar="VG", default=None)
745

  
746

  
740 747

  
741 748
def _ParseArgs(argv, commands, aliases):
742 749
  """Parser for the command line arguments.

Also available in: Unified diff