MLBEDSW-3333 New CLI: --verbose-all

Added a new CLI option which simply force-enables all the other verbose
options available to vela

Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com>
Change-Id: I0dddbc86a76ea0de57266452f39fd0a5ca57eeb3
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index 08ab483..37de1ed 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -221,6 +221,7 @@
     parser.add_argument(
         "--config", type=str, action="append", help="Vela configuration file(s) in Python ConfigParser .ini file format"
     )
+    parser.add_argument("--verbose-all", action="store_true", help="Enable all verbose options")
     parser.add_argument("--verbose-config", action="store_true", help="Verbose system configuration and memory mode")
     parser.add_argument("--verbose-graph", action="store_true", help="Verbose graph rewriter")
     parser.add_argument("--verbose-quantization", action="store_true", help="Verbose quantization")
@@ -384,6 +385,11 @@
     if args.memory_mode == ArchitectureFeatures.DEFAULT_CONFIG:
         print(f"Warning: Using {ArchitectureFeatures.DEFAULT_CONFIG} values for memory mode")
 
+    if args.verbose_all:
+        for v in vars(args):
+            if v.startswith("verbose") and v != "verbose_all":
+                setattr(args, v, True)
+
     arch = architecture_features.ArchitectureFeatures(
         vela_config_files=args.config,
         system_config=args.system_config,