Revision fdad8c4d lib/cli.py

b/lib/cli.py
44 44

  
45 45
__all__ = [
46 46
  # Command line options
47
  "ADD_UIDS_OPT",
47 48
  "ALLOCATABLE_OPT",
48 49
  "ALL_OPT",
49 50
  "AUTO_PROMOTE_OPT",
......
111 112
  "RAPI_CERT_OPT",
112 113
  "READD_OPT",
113 114
  "REBOOT_TYPE_OPT",
115
  "REMOVE_UIDS_OPT",
114 116
  "SECONDARY_IP_OPT",
115 117
  "SELECT_OS_OPT",
116 118
  "SEP_OPT",
......
935 937
                         help=("A list of user-ids or user-id"
936 938
                               " ranges separated by commas"))
937 939

  
940
ADD_UIDS_OPT = cli_option("--add-uids", default=None,
941
                          action="store", dest="add_uids",
942
                          help=("A list of user-ids or user-id"
943
                                " ranges separated by commas, to be"
944
                                " added to the user-id pool"))
945

  
946
REMOVE_UIDS_OPT = cli_option("--remove-uids", default=None,
947
                             action="store", dest="remove_uids",
948
                             help=("A list of user-ids or user-id"
949
                                   " ranges separated by commas, to be"
950
                                   " removed from the user-id pool"))
951

  
938 952

  
939 953
def _ParseArgs(argv, commands, aliases):
940 954
  """Parser for the command line arguments.

Also available in: Unified diff