From 7657209274b9f0e441e8ec54f6cf15c4a98a0c9f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 15 Dec 2023 00:18:54 +0300 Subject: [PATCH] Chore(scripts): Improve argparser's descriptions [skip ci] --- scripts/ml-import.py | 2 +- scripts/ml-initdb.py | 2 +- scripts/ml-web.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ml-import.py b/scripts/ml-import.py index bc4b6b3..431a6d2 100755 --- a/scripts/ml-import.py +++ b/scripts/ml-import.py @@ -13,7 +13,7 @@ if ttyProgressBar: from m_librarian.pbar import ml_ttyProgressBar if __name__ == '__main__': - parser = argparse.ArgumentParser(description='Import') + parser = argparse.ArgumentParser(description='Import INPX files') parser.add_argument('-C', '--config', help='configuration file') parser.add_argument('-D', '--database', help='database URI') parser.add_argument('-P', '--no-pbar', action='store_true', diff --git a/scripts/ml-initdb.py b/scripts/ml-initdb.py index 71d3598..c229c5e 100755 --- a/scripts/ml-initdb.py +++ b/scripts/ml-initdb.py @@ -6,7 +6,7 @@ from m_librarian.db import open_db, init_db from m_librarian.glst import import_glst if __name__ == '__main__': - parser = argparse.ArgumentParser(description='Init') + parser = argparse.ArgumentParser(description='Init database') parser.add_argument('-C', '--config', help='configuration file') parser.add_argument('-D', '--database', help='database URI') args = parser.parse_args() diff --git a/scripts/ml-web.py b/scripts/ml-web.py index 0387bc6..773be00 100755 --- a/scripts/ml-web.py +++ b/scripts/ml-web.py @@ -18,7 +18,7 @@ def start_browser(port): if __name__ == '__main__': - parser = argparse.ArgumentParser(description='Init') + parser = argparse.ArgumentParser(description='m_Librarin web interface') parser.add_argument('-p', '--port', help='HTTP server port') args = parser.parse_args() -- 2.39.5