charlesdaniels / bitshuffle

BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

--version flag should be added #7

Closed charlesdaniels closed 6 years ago

charlesdaniels commented 6 years ago

After the first release (when that happens), it will be useful to have a --version flag. Example:

>>> import argparse
>>> parser = argparse.ArgumentParser(prog='PROG')
>>> parser.add_argument('--version', action='version', version='%(prog)s 2.0')
>>> parser.parse_args(['--version'])
PROG 2.0

source

jyn514 commented 6 years ago

Added in https://github.com/charlesdaniels/bitshuffle/commit/998b11f51d9b73e10d70790aadd1ed30e9b23e47

charlesdaniels commented 6 years ago

cross reference 1060d804d3b83f259714b07aeae0360ee33653e3