Changeset 252 for tbroadcast


Ignore:
Timestamp:
Sep 25, 2006, 3:57:17 PM (18 years ago)
Author:
garonne
Message:

Ajout affichage version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tbroadcast/HEAD/scripts/tbroadcast

    r248 r252  
    2929    print '#   -perf=<file>          : Store for each package the time for executing the command in the <file> file'
    3030    print '#   -print                : Print dependencies for each package'
     31    print '#   -version              : version of tbroadcast'       
    3132    print '#   -silent               : Disable print'     
    3233    print '#   -test                 : Simulate execution'
     
    3637    num_worker    = 20
    3738    command       = ''
     39    version       = 'HEAD'
    3840    test          = False
    3941    check         = False
     
    4951         if arg[0]=='-':
    5052             option = string.split(arg,'=')[0]
     53             if option == '-version':
     54                 print version
     55                 sys.exit(-1)
    5156             if option == '-nb':
    5257                num_worker = int (string.split(arg,'=')[1])
Note: See TracChangeset for help on using the changeset viewer.