Changeset 93
- Timestamp:
- 01/27/06 09:51:00 (19 years ago)
- Location:
- pykoticon/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykoticon/trunk/bin/pykoticon
r92 r93 282 282 print "0.3" 283 283 elif arg in ("-h", "--help") : 284 print "usage : pykoticon printserver_hostname localport"284 sys.stderr.write("usage : pykoticon pykota_server_hostname_or_ip_address localTCPPort\n") 285 285 else : 286 286 main(*sys.argv[1:3]) 287 287 else : 288 main("localhost", "7654")288 sys.stderr.write("usage : pykoticon pykota_server_hostname_or_ip_address localTCPPort\n") -
pykoticon/trunk/tests/test.py
r91 r93 38 38 39 39 if __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:])