Skip to content

Commit

Permalink
Add --version
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Jul 5, 2019
1 parent 804d4bc commit 7068828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions muse_psfr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def main(args=None):
addarg('--verbose', '-v', action='store_true', help='verbose flag')
addarg('--no-color', action='store_true', help='no color in output')
addarg('--plot', action='store_true', help='plot reconstructed psf')
addarg('--version', action='version', version='%(prog)s ' + __version__)

args = parser.parse_args(args)
logger.info('MUSE-PSFR version %s', __version__)
Expand Down

0 comments on commit 7068828

Please sign in to comment.