Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Version switch was not correctly implemented.
  • Loading branch information
cerebis authored Jul 28, 2018
1 parent a4450d0 commit 5b6711c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin3C.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def out_name(base, suffix):
return '{}{}'.format(base, suffix)

global_parser = argparse.ArgumentParser(add_help=False)
global_parser.add_argument('-V', '--version', help='Show the application version')
global_parser.add_argument('-V', '--version', default=False, action='store_true', help='Show the application version')
global_parser.add_argument('-v', '--verbose', default=False, action='store_true', help='Verbose output')
global_parser.add_argument('--clobber', default=False, action='store_true', help='Clobber existing files')
global_parser.add_argument('--log', help='Log file path [OUTDIR/bin3C.log]')
Expand Down

0 comments on commit 5b6711c

Please sign in to comment.