- print "Usage: %s [OPTION]..." % sys.argv[0]
- print "Options:"
- print " -p PORT, --port=PORT TCP port number to listen on (default: %d)" % port
- print " -f FILE, --config=FILE PLC configuration file (default: %s)" % config
- print " -h, --help This message"
+ print("Usage: %s [OPTION]..." % sys.argv[0])
+ print("Options:")
+ print(" -p PORT, --port=PORT TCP port number to listen on (default: %d)" % port)
+ print(" -f FILE, --config=FILE PLC configuration file (default: %s)" % config)
+ print(" -h, --help This message")