Revision e7323b5e lib/cli.py

b/lib/cli.py
119 119
  "OSPARAMS_OPT",
120 120
  "OS_OPT",
121 121
  "OS_SIZE_OPT",
122
  "PRIMARY_IP_VERSION_OPT",
122 123
  "RAPI_CERT_OPT",
123 124
  "READD_OPT",
124 125
  "REBOOT_TYPE_OPT",
......
1021 1022
                                action="store_false", default=True,
1022 1023
                                help="Disable support for DRBD")
1023 1024

  
1025
PRIMARY_IP_VERSION_OPT = \
1026
    cli_option("--primary-ip-version", default=constants.IP4_VERSION,
1027
               action="store", dest="primary_ip_version",
1028
               metavar="%d|%d" % (constants.IP4_VERSION,
1029
                                  constants.IP6_VERSION),
1030
               help="Cluster-wide IP version for primary IP")
1031

  
1024 1032

  
1025 1033
def _ParseArgs(argv, commands, aliases):
1026 1034
  """Parser for the command line arguments.

Also available in: Unified diff