Changeset 93 for pykoticon/trunk/tests

Show
Ignore:
Timestamp:
01/27/06 09:51:00 (19 years ago)
Author:
jerome
Message:

Better help for testers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/tests/test.py

    r91 r93  
    3838     
    3939if __name__ == "__main__" : 
    40     main(sys.argv[1:]) 
     40    if len(sys.argv) != 3 : 
     41        sys.stderr.write("usage : %s printing_client_hostname_or_ip_address printing_client_TCPPort\n" % sys.argv[0]) 
     42    else :     
     43        main(sys.argv[1:])