Skip to content

Commit

Permalink
Fixes version flag logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Rodriguez committed Jul 24, 2020
1 parent 66f9a30 commit 6dfe29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terrascan/terrascan.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def terrascan(args):
version = get_version()

# process the arguments
if args.version is not None:
if args.version:
print(f'Terrascan v{version}')
sys.exit(0)

Expand Down

0 comments on commit 6dfe29d

Please sign in to comment.