Changeset 23 for trunk/pxeconfig/pxeconfig
- Timestamp:
- 11/29/02 13:09:45 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/pxeconfig
r20 r23 7 7 # 8 8 # CVS info 9 # $Date: 2002/ 09/30 09:22:02$10 # $Revision: 1.1 1$9 # $Date: 2002/11/29 12:09:45 $ 10 # $Revision: 1.12 $ 11 11 # 12 12 # Copyright (C) 2002 … … 31 31 Usage: pxeconfig 32 32 [-d|--directory <pxe_config_dir>] 33 [-v|--version] 33 34 [-n|--net <C-net> -s|--start <number> -e|--end <number> -f|--file <filename>] 34 35 … … 72 73 START='start' 73 74 END='end' 74 75 SHORTOPT_LIST='hd:n:s:e:f:' 76 LONGOPT_LIST=['help', 'directory=', 'net=', 'start=', 'end=', 'file='] 75 VERSION='0.4.1' 76 77 SHORTOPT_LIST='hvd:n:s:e:f:' 78 LONGOPT_LIST=['help', 'version', 'directory=', 'net=', 'start=', 'end=', 'file='] 77 79 78 80 def select_pxe_configfile(): … … 268 270 binfo[FILENAME] = value 269 271 272 elif opt in ['-v', '--version']: 273 print VERSION 274 sys.exit(0) 275 270 276 elif opt in ['-h', '--help']: 271 277 print __doc__
Note: See TracChangeset
for help on using the changeset viewer.