summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bidding_data.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bidding_data.py b/src/bidding_data.py
index 70fa366..7a7cd52 100644
--- a/src/bidding_data.py
+++ b/src/bidding_data.py
@@ -6,6 +6,8 @@ import pypyodbc
from os import path, remove
from bs4 import BeautifulSoup as bs4
+__version__ = '1.0.1'
+
class JFRBidding:
@@ -295,6 +297,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('bws_file', metavar='BWS_FILE',
help='path to BWS file',
type=file_path)