Changeset 3085 for pykota/trunk/bin

Show
Ignore:
Timestamp:
11/29/06 22:35:10 (18 years ago)
Author:
jerome
Message:

Now pksetup accepts the --help command line option

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pksetup

    r3022 r3085  
    441441if __name__ == "__main__" :         
    442442    retcode = 0 
    443     if len(sys.argv) != 2 : 
     443    if (len(sys.argv) != 2) or (sys.argv[1] == "-h") or (sys.argv[1] == "--help") : 
    444444        sys.stderr.write("usage : pksetup distribution\ne.g. : pksetup debian\n") 
    445445    else :