adding --version to CLI config

This commit is contained in:
Martin A. Brown 2016-05-16 09:29:53 -07:00
parent f3f06f372f
commit e879f2e638
1 changed files with 5 additions and 0 deletions

View File

@ -147,6 +147,11 @@ def collectconfiguration(tag, argv):
action='store_true', default=False,
help='show status types and classes [%(default)s]')
g.add_argument('--version',
'-V',
action='store_true', default=False,
help='print out the version number [%(default)s]')
# -- collect up the distributed configuration fragments
#
for cls in tldp.typeguesser.knowndoctypes: