Changeset 3230 for pykota/trunk

Show
Ignore:
Timestamp:
07/24/07 12:43:35 (17 years ago)
Author:
jerome
Message:

Added some minimal help.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pksetup

    r3228 r3230  
    448448    retcode = 0 
    449449    if (len(sys.argv) != 2) or (sys.argv[1] == "-h") or (sys.argv[1] == "--help") : 
    450         sys.stderr.write("usage : pksetup distribution\n\ne.g. : pksetup debian\n\nIMPORTANT : only Debian and Ubuntu are currently supported.\n") 
     450        sys.stderr.write("pksetup v0.1 (c) 2003-2007 Jerome Alet - alet@librelogiciel.com\n\nusage : pksetup distribution\n\ne.g. : pksetup debian\n\nIMPORTANT : only Debian and Ubuntu are currently supported.\n") 
     451    elif (sys.argv[1] == "-v") or (sys.argv[1] == "--version") :     
     452        print "0.1" # pksetup's own version number 
    451453    else :     
    452454        classname = sys.argv[1].strip().title()