From 00a01e7e8cb171d999ec9900cdcc5a3d0ab55ca6 Mon Sep 17 00:00:00 2001 From: equdevel Date: Mon, 12 Dec 2022 22:34:28 +0800 Subject: [PATCH] CLI arguments parsing --- mod_installer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mod_installer.py b/mod_installer.py index 8d412eb..dc5939b 100644 --- a/mod_installer.py +++ b/mod_installer.py @@ -33,6 +33,7 @@ ) parser.add_argument('-c', '--clear-cache', help='clear mods cache on disk', action='store_true') parser.add_argument('-u', '--update', help='update mods if new versions exist', action='store_true') +parser.add_argument('-v', '--version', version='1.6', action='version') args = parser.parse_args() update = args.update if args.clear_cache: