diff options
Diffstat (limited to 'bidding_data.py')
-rw-r--r-- | bidding_data.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bidding_data.py b/bidding_data.py index 3373ca4..c489388 100644 --- a/bidding_data.py +++ b/bidding_data.py @@ -6,6 +6,8 @@ import re from os import path, remove from bs4 import BeautifulSoup as bs4 +__version__ = '1.0.1' + class JFRBidding: @@ -302,6 +304,10 @@ if __name__ == '__main__': else: argument_parser.error('File %s does not exist' % filepath) + argument_parser.add_argument('-V', '--version', action='version', + version='%(prog)s {version}'.format( + version=__version__)) + argument_parser.add_argument('bidding_file', metavar='BIDDING_FILE', help='CSV containing bidding data from BWS', type=file_path) |