Revision eb28ecf6 lib/cli.py

b/lib/cli.py
207 207
  "SplitNodeOption",
208 208
  "CalculateOSNames",
209 209
  "ParseFields",
210
  "COMMON_CREATE_OPTS",
210 211
  ]
211 212

  
212 213
NO_PREFIX = "no_"
......
1103 1104
#: Options provided by all commands
1104 1105
COMMON_OPTS = [DEBUG_OPT]
1105 1106

  
1107
# common options for creating instances. add and import then add their own
1108
# specific ones.
1109
COMMON_CREATE_OPTS = [
1110
  BACKEND_OPT,
1111
  DISK_OPT,
1112
  DISK_TEMPLATE_OPT,
1113
  FILESTORE_DIR_OPT,
1114
  FILESTORE_DRIVER_OPT,
1115
  HYPERVISOR_OPT,
1116
  IALLOCATOR_OPT,
1117
  NET_OPT,
1118
  NODE_PLACEMENT_OPT,
1119
  NOIPCHECK_OPT,
1120
  NONAMECHECK_OPT,
1121
  NONICS_OPT,
1122
  NWSYNC_OPT,
1123
  OSPARAMS_OPT,
1124
  OS_SIZE_OPT,
1125
  SUBMIT_OPT,
1126
  DRY_RUN_OPT,
1127
  PRIORITY_OPT,
1128
  ]
1129

  
1106 1130

  
1107 1131
def _ParseArgs(argv, commands, aliases):
1108 1132
  """Parser for the command line arguments.

Also available in: Unified diff