diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2006-10-20 00:09:07 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2006-10-20 00:09:07 +0000 |
commit | 24447f0646bccc18695f3d1aa5a76e2a59a6aaf7 (patch) | |
tree | f0c36c8723f8cb781ebb46a776a247df28c1c2bb /examples | |
parent | 691a77f9ace416eb35382f45fc0d452e927823d1 (diff) | |
download | pyserial-24447f0646bccc18695f3d1aa5a76e2a59a6aaf7.tar.gz |
[Bug 1451535], [Bug 1554183], [Bug 1513653], [Bug 1520357]
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@155 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tcp_serial_redirect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tcp_serial_redirect.py b/examples/tcp_serial_redirect.py index c4c8aa9..0777af2 100644 --- a/examples/tcp_serial_redirect.py +++ b/examples/tcp_serial_redirect.py @@ -101,7 +101,7 @@ if __name__ == '__main__': localport = 7777 for o, a in opts: if o in ("-h", "--help"): #help text - usage() + print __doc__ # XXX is optimzed away with python -o ... sys.exit() elif o in ("-p", "--port"): #specified port try: |