diff --git a/s3tests/readwrite.py b/s3tests/readwrite.py index 93001ba..3bc5b35 100644 --- a/s3tests/readwrite.py +++ b/s3tests/readwrite.py @@ -6,6 +6,7 @@ import gevent.queue import gevent.monkey; gevent.monkey.patch_all() import itertools import optparse +import os import sys import time import traceback @@ -107,7 +108,9 @@ def writer(bucket, worker_id, file_names, files, queue): queue.put(result) def parse_options(): - parser = optparse.OptionParser() + parser = optparse.OptionParser( + usage='%prog [OPTS]