Revision 93f2399e lib/cli.py

b/lib/cli.py
92 92
  "DEFAULT_IALLOCATOR_OPT",
93 93
  "IDENTIFY_DEFAULTS_OPT",
94 94
  "IGNORE_CONSIST_OPT",
95
  "IGNORE_ERRORS_OPT",
95 96
  "IGNORE_FAILURES_OPT",
96 97
  "IGNORE_OFFLINE_OPT",
97 98
  "IGNORE_REMOVE_FAILURES_OPT",
......
1262 1263
                          default=None, action="append",
1263 1264
                          completion_suggest=OPT_COMPL_ONE_NODEGROUP)
1264 1265

  
1266
IGNORE_ERRORS_OPT = cli_option("-I", "--ignore-errors", default=[],
1267
                               action="append", dest="ignore_errors",
1268
                               choices=list(constants.CV_ALL_ECODES_STRINGS),
1269
                               help="Error code to be ignored")
1270

  
1265 1271

  
1266 1272
#: Options provided by all commands
1267 1273
COMMON_OPTS = [DEBUG_OPT]

Also available in: Unified diff