Revision 94ab995a lib/cli.py

b/lib/cli.py
182 182
  "SEP_OPT",
183 183
  "SHOWCMD_OPT",
184 184
  "SHOW_MACHINE_OPT",
185
  "COMPRESS_OPT",
185 186
  "SHUTDOWN_TIMEOUT_OPT",
186 187
  "SINGLE_NODE_OPT",
187 188
  "SPECS_CPU_COUNT_OPT",
......
1345 1346
                         default=constants.DEFAULT_SHUTDOWN_TIMEOUT,
1346 1347
                         help="Maximum time to wait")
1347 1348

  
1349
COMPRESS_OPT = cli_option("--compress", dest="compress",
1350
                          default=constants.IEC_NONE,
1351
                          help="The compression mode to use",
1352
                          choices=list(constants.IEC_ALL))
1353

  
1348 1354
SHUTDOWN_TIMEOUT_OPT = cli_option("--shutdown-timeout",
1349 1355
                                  dest="shutdown_timeout", type="int",
1350 1356
                                  default=constants.DEFAULT_SHUTDOWN_TIMEOUT,

Also available in: Unified diff