Changeset 24 for trunk/pxeconfig


Ignore:
Timestamp:
11/29/02 13:46:05 (21 years ago)
Author:
sscpbas
Message:

pxeconfig:

changed -v to -V for version info

Location:
trunk/pxeconfig
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/changelog

    r23 r24  
    1 Always edit this file when changes are commited::
     1Always edit this file when changes are commited:
    22
    33$Log: changelog,v $
     4Revision 1.20  2002/11/29 12:46:05  sscpbas
     5pxeconfig:
     6  changed -v to -V for version info
     7
    48Revision 1.19  2002/11/29 12:09:45  sscpbas
    59pxeconfig:
  • trunk/pxeconfig/pxeconfig

    r23 r24  
    77#
    88# CVS info
    9 #  $Date: 2002/11/29 12:09:45 $
    10 #  $Revision: 1.12 $
     9#  $Date: 2002/11/29 12:46:05 $
     10#  $Revision: 1.13 $
    1111#
    1212# Copyright (C) 2002
     
    3131Usage: pxeconfig
    3232 [-d|--directory <pxe_config_dir>]
    33  [-v|--version]
     33 [-V|--version]
    3434 [-n|--net <C-net> -s|--start <number> -e|--end <number> -f|--file <filename>]
    3535
     
    7575VERSION='0.4.1'
    7676
    77 SHORTOPT_LIST='hvd:n:s:e:f:'
     77SHORTOPT_LIST='hVd:n:s:e:f:'
    7878LONGOPT_LIST=['help', 'version', 'directory=', 'net=', 'start=', 'end=', 'file=']
    7979
     
    270270      binfo[FILENAME] = value
    271271
    272     elif opt in ['-v', '--version']:
     272    elif opt in ['-V', '--version']:
    273273      print VERSION
    274274      sys.exit(0)
Note: See TracChangeset for help on using the changeset viewer.