Revision 38f29a36

b/lib/cli.py
185 185
  "VERBOSE_OPT",
186 186
  "VG_NAME_OPT",
187 187
  "YES_DOIT_OPT",
188
  "DISK_STATE_OPT",
189
  "HV_STATE_OPT",
188 190
  # Generic functions for CLI programs
189 191
  "ConfirmOperation",
190 192
  "GenericMain",
......
1293 1295
                               choices=list(constants.CV_ALL_ECODES_STRINGS),
1294 1296
                               help="Error code to be ignored")
1295 1297

  
1298
DISK_STATE_OPT = cli_option("--disk-state", default=[], dest="disk_state",
1299
                            action="append",
1300
                            help=("Specify disk state information in the format"
1301
                                  " storage_type/identifier:option=value,..."),
1302
                            type="identkeyval")
1303

  
1304
HV_STATE_OPT = cli_option("--hypervisor-state", default=[], dest="hv_state",
1305
                          action="append",
1306
                          help=("Specify hypervisor state information in the"
1307
                                " format hypervisor:option=value,..."),
1308
                          type="identkeyval")
1309

  
1296 1310

  
1297 1311
#: Options provided by all commands
1298 1312
COMMON_OPTS = [DEBUG_OPT]

Also available in: Unified diff