diff --git a/bin/brozzler-hq b/bin/brozzler-hq index e91efc3..e83d695 100755 --- a/bin/brozzler-hq +++ b/bin/brozzler-hq @@ -14,7 +14,7 @@ arg_parser = argparse.ArgumentParser(prog=os.path.basename(__file__), formatter_class=argparse.ArgumentDefaultsHelpFormatter) arg_parser.add_argument("-d", "--db", dest="db_file", default="./brozzler-hq.db", help="sqlite3 database filename; if the file does not exist, it will be created") -arg_parser.add_argument('-u', '--url', dest='amqp_url', default='amqp://guest:guest@localhost:5672/%2f', +arg_parser.add_argument('-u', '--amqp-url', dest='amqp_url', default='amqp://guest:guest@localhost:5672/%2f', help='URL identifying the amqp server to talk to') arg_parser.add_argument("-v", "--verbose", dest="log_level", action="store_const", default=logging.INFO, const=logging.DEBUG) diff --git a/bin/brozzler-worker b/bin/brozzler-worker index 6b4f6a1..439d714 100755 --- a/bin/brozzler-worker +++ b/bin/brozzler-worker @@ -14,9 +14,8 @@ import traceback import brozzler.worker arg_parser = argparse.ArgumentParser(prog=os.path.basename(__file__), - description='crawl-url - browse urls, follow links', formatter_class=argparse.ArgumentDefaultsHelpFormatter) -arg_parser.add_argument('-u', '--url', dest='amqp_url', default='amqp://guest:guest@localhost:5672/%2f', +arg_parser.add_argument('-u', '--amqp-url', dest='amqp_url', default='amqp://guest:guest@localhost:5672/%2f', help='URL identifying the amqp server to talk to') arg_parser.add_argument('-e', '--executable', dest='chrome_exe', default='chromium-browser', help='executable to use to invoke chrome')