aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/download.py
diff options
context:
space:
mode:
Diffstat (limited to 'project/boost/download.py')
-rw-r--r--project/boost/download.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/boost/download.py b/project/boost/download.py
index 3f1366e..b5bf684 100644
--- a/project/boost/download.py
+++ b/project/boost/download.py
@@ -27,6 +27,7 @@ import urllib.request
from project.boost.archive import Archive, PermanentStorage, TemporaryStorage
from project.boost.version import Version
from project.utils import normalize_path, mkdir_parent, retry, setup_logging
+import project.version
class Download:
@@ -127,6 +128,8 @@ def _parse_args(argv=None):
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
+ project.version.add_to_arg_parser(parser)
+
parser.add_argument('--unpack', metavar='DIR', dest='unpack_dir',
type=normalize_path,
help='directory to unpack the archive to')