From 18e8227db00c3d50d43910dbcb1c2479fd67ebc2 Mon Sep 17 00:00:00 2001 From: Stefal Date: Thu, 21 Sep 2023 21:20:46 +0200 Subject: [PATCH] add --version argument --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.py b/download.py index d760288..42fb547 100644 --- a/download.py +++ b/download.py @@ -26,7 +26,7 @@ def parse_args(argv =None): parser.add_argument('--destination', type=str, default='data', help='Path destination for the images') parser.add_argument('--image_limit', type=int, default=None, help='How many images you want to download') parser.add_argument('--overwrite', default=False, action='store_true', help='overwrite existing images') - + parser.add_argument("-v", "--version", action="version", version="release 1.0") args = parser.parse_args(argv) if args.sequence_ids is None and args.image_ids is None: parser.error("Please enter at least one sequence id or image id")