Add the True/False metavar.
@@ -53,7 +53,7 @@ def add_arguments_extended(parser: KGTKArgumentParser, parsed_shared_args: Names
type=optional_bool, nargs='?', const=True, default=False)
parser.add_argument( "--show-version", dest="show_version", type=optional_bool, nargs='?', const=True, default=False,
- help="Print the version of this program. (default=%(default)s).")
+ help="Print the version of this program. (default=%(default)s).", metavar="True/False")
KgtkReader.add_debug_arguments(parser, expert=_expert)
KgtkReaderOptions.add_arguments(parser, mode_options=True, expert=_expert)
@@ -95,7 +95,7 @@ def run(input_file: KGTKFiles,
reader_options: KgtkReaderOptions = KgtkReaderOptions.from_dict(kwargs)
value_options: KgtkValueOptions = KgtkValueOptions.from_dict(kwargs)
- UPDATE_VERSION: str = "2020-07-22T22:37:59.218902+00:00#+6ZcZmYYqYqwy4/POA3W/+M1/1s/XPJZY37y31RPcfJmn0T07KoGI9sEvkZmrnsaBe6G0XSsVxTplxuChNToAQ=="
+ UPDATE_VERSION: str = "2020-07-22T22:54:42.421915+00:00#RK1rvNjh7ZARBk7H3l2Hs/rpgh2X7cIfN8kmkNXb6JY+tBsN8YJdsZdMKv3zLA4AzcZG8PKDe+kz+vz1vKuljw=="
if show_version or verbose:
print("kgtk filter version: %s" % UPDATE_VERSION, file=error_file, flush=True)
