Commit c164d0d1 authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent 24b7f978
...@@ -328,9 +328,8 @@ if __name__ == '__main__': ...@@ -328,9 +328,8 @@ if __name__ == '__main__':
try: try:
opts, args = getopt.getopt(sys.argv[1:], "h,b:,v,s", opts, args = getopt.getopt(sys.argv[1:], "h,b:,v,s",
["help", "baud", "verbose", "statusreport"]) ["help", "baud", "verbose", "statusreport"])
except getopt.GetoptError,err: except getopt.GetoptError, err:
print str(err) print str(err)
print help
sys.exit(2) sys.exit(2)
for o, a in opts: for o, a in opts:
if o in ('-h', '--help'): if o in ('-h', '--help'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment