From 49215fd03edce0861c43992e11236a6b85337ecf Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 23 Dec 2022 19:36:29 +0200 Subject: [PATCH] Update main.py --- octosuite/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/octosuite/main.py b/octosuite/main.py index 8eb5f94..e4703b9 100644 --- a/octosuite/main.py +++ b/octosuite/main.py @@ -10,6 +10,10 @@ def octosuite(): configure_logging() check_updates() if args: + """ + Iterate over the argument_map and check if the passed command line argument matches any argument in it [argument_map], + if there's a match, we return its method. If no match is found, we do nothing (which will return the usage). + """ for argument, method in run.argument_map: if args.method == argument: method()