mirror of https://github.com/tLDP/python-tldp
adding --version to CLI config
This commit is contained in:
parent
f3f06f372f
commit
e879f2e638
|
@ -147,6 +147,11 @@ def collectconfiguration(tag, argv):
|
||||||
action='store_true', default=False,
|
action='store_true', default=False,
|
||||||
help='show status types and classes [%(default)s]')
|
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
|
# -- collect up the distributed configuration fragments
|
||||||
#
|
#
|
||||||
for cls in tldp.typeguesser.knowndoctypes:
|
for cls in tldp.typeguesser.knowndoctypes:
|
||||||
|
|
Loading…
Reference in New Issue