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' 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