Skip to content

Commit

Permalink
Merge pull request #203 from VForWaTer/fix_cli
Browse files Browse the repository at this point in the history
Fix cli
  • Loading branch information
AlexDo1 authored Jan 13, 2023
2 parents 93e6501 + cde8d06 commit 045be6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metacatalog/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.6.4'
__version__ = '0.6.5'
4 changes: 2 additions & 2 deletions metacatalog/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 045be6e

Please sign in to comment.