From e85070f219496a5e63ad0338fbac0a9d6199baa7 Mon Sep 17 00:00:00 2001 From: AlexDo1 Date: Fri, 13 Jan 2023 15:27:39 +0100 Subject: [PATCH 1/2] fix cli again --- metacatalog/command_line.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metacatalog/command_line.py b/metacatalog/command_line.py index 85ac18d9..8c6d1047 100644 --- a/metacatalog/command_line.py +++ b/metacatalog/command_line.py @@ -113,11 +113,11 @@ def main(): # RUN THE TOOL #------------------- # print version - if hasattr(args, 'version'): + if hasattr(args, 'version') and args.version: print(VERSION) # if development mode, do not handle errors - elif hasattr(args, 'dev'): + elif hasattr(args, 'dev') and args.dev: args.func(args) # else, catch all errors and print to file From cde8d0600bc49f447d9e95875969da256e000940 Mon Sep 17 00:00:00 2001 From: AlexDo1 Date: Fri, 13 Jan 2023 15:32:55 +0100 Subject: [PATCH 2/2] v0.6.5 --- metacatalog/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacatalog/__version__.py b/metacatalog/__version__.py index 02f8497c..e2f45ae2 100644 --- a/metacatalog/__version__.py +++ b/metacatalog/__version__.py @@ -1 +1 @@ -__version__ = '0.6.4' +__version__ = '0.6.5'