From e879f2e638e2f0313f547a0f25e814b45e4bb831 Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Mon, 16 May 2016 09:29:53 -0700 Subject: [PATCH] adding --version to CLI config --- tldp/config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tldp/config.py b/tldp/config.py index 2428de9..212ba26 100644 --- a/tldp/config.py +++ b/tldp/config.py @@ -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: