From 26cf1026416186f76e446c3fe7bd7b24deb8359c Mon Sep 17 00:00:00 2001 From: Daan Date: Wed, 27 Nov 2024 22:35:59 +0100 Subject: [PATCH] Changed cmd-args --- meshbook/meshbook.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meshbook/meshbook.py b/meshbook/meshbook.py index 94f6524..f838a62 100644 --- a/meshbook/meshbook.py +++ b/meshbook/meshbook.py @@ -296,7 +296,9 @@ class MeshcallerActions: await asyncio.sleep(1) # Exit gracefully - print("-=-" * 40) + if not args.silent or args.information: + print("-=-" * 40) + updated_response_dict = MeshbookUtilities.translate_nodeids(responses_dict, global_list) if not args.nojson: @@ -310,7 +312,7 @@ async def main(): parser.add_argument("--nojson", action="store_true", help="Makes the program not output the JSON response data.") parser.add_argument("-pb", "--playbook", type=str, help="Path to the playbook file.", required=True) parser.add_argument("-s", "--silent", action="store_true", help="Suppress terminal output.") - parser.add_argument("-i", "--information", action="store_true", help="Output the calculations and other informational output.") + parser.add_argument("-i", "--information", action="store_true", help="Add the calculations and other informational data to the output.") global args args = parser.parse_args()