changeset 68:d53f46341864

Show copyright blurb in help.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 11 Oct 2021 22:13:40 +0300
parents 9833df4573a7
children 7a77c78ff5b8
files lxmldump.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lxmldump.py	Mon Oct 11 07:19:02 2021 +0300
+++ b/lxmldump.py	Mon Oct 11 22:13:40 2021 +0300
@@ -469,7 +469,6 @@
 signal.signal(signal.SIGINT, pkk_signal_handler)
 
 optparser = argparse.ArgumentParser(
-    description="lxmldump - Convert and dump ISO/FDIS 1951 XML file data",
     usage="%(prog)s [options] <input xml file(s)>",
     add_help=False
     )
@@ -523,6 +522,9 @@
 
 ### Show help if needed
 if len(pkk_cfg.filenames) == 0 or pkk_cfg.show_help:
+    print("lxmldump - Convert and dump ISO/FDIS 1951 XML file data\n"
+    "Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>\n"
+    "(C) Copyright 2021 Tecnic Software productions (TNSP)\n")
     optparser.print_help()
     print(u"\nAvailable output modes:")
     print("  " + ", ".join(pkk_modes_list.values()))