Commit 748043b0 authored by Seblu's avatar Seblu

Support ARCHIVE_URL environ var

parent e5882e9d
......@@ -343,7 +343,7 @@ def parse_argv():
p_main.add_argument("-v", "--verbose", action="store_true",
help="display more information")
p_main.add_argument("--url", help="archive URL, default: %s" % ARCHIVE_URL,
default=environ.get("ARCHIVE_URL", ARCHIVE_URL))
p_main.add_argument("-t", "--timeout", default=10, help="connection timeout (10s)")
help="regex to match a package name")
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