Revision 14e9e7f3 lib/cli.py

b/lib/cli.py
58 58
  "DISK_TEMPLATE_OPT",
59 59
  "DRAINED_OPT",
60 60
  "ENABLED_HV_OPT",
61
  "ERROR_CODES_OPT",
61 62
  "FIELDS_OPT",
62 63
  "FILESTORE_DIR_OPT",
63 64
  "FILESTORE_DRIVER_OPT",
......
84 85
  "NOMODIFY_ETCHOSTS_OPT",
85 86
  "NONICS_OPT",
86 87
  "NONLIVE_OPT",
88
  "NONPLUS1_OPT",
87 89
  "NOSTART_OPT",
88 90
  "NOSSH_KEYCHECK_OPT",
89 91
  "NOVOTING_OPT",
......
781 783
                                   help="Don't modify /etc/hosts",
782 784
                                   action="store_false", default=True)
783 785

  
786
ERROR_CODES_OPT = cli_option("--error-codes", dest="error_codes",
787
                             help="Enable parseable error messages",
788
                             action="store_true", default=False)
789

  
790
NONPLUS1_OPT = cli_option("--no-nplus1-mem", dest="skip_nplusone_mem",
791
                          help="Skip N+1 memory redundancy tests",
792
                          action="store_true", default=False)
793

  
784 794

  
785 795
def _ParseArgs(argv, commands, aliases):
786 796
  """Parser for the command line arguments.

Also available in: Unified diff