diff --git a/nvchecker/main.py b/nvchecker/main.py old mode 100644 new mode 100755 index 1a58ca3..c176566 --- a/nvchecker/main.py +++ b/nvchecker/main.py @@ -117,8 +117,8 @@ def main(): def run_test(): config = load_config(*args.files) - if args.current: - g_oldver.update(load_oldverfile(args.current)) + if args.oldver: + g_oldver.update(load_oldverfile(args.oldver)) g_curver.update(g_oldver) get_versions(config)