summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2023-01-27 14:06:00 +0000
committerRichard Hughes <richard@hughsie.com>2023-01-27 15:19:33 +0000
commitc9add9816de672d78e3e4e0e108747ea010d31e5 (patch)
treecb027340fa83bb295c2319a242750b645d0e9e0e /tools
parent28b4d05f30f80dc71052f45fd19a052e20196fc9 (diff)
downloadgusb-c9add9816de672d78e3e4e0e108747ea010d31e5.tar.gz
Reduce the debugging level when emulating firmware
Diffstat (limited to 'tools')
-rw-r--r--tools/gusb-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gusb-main.c b/tools/gusb-main.c
index 8037310..0d6a422 100644
--- a/tools/gusb-main.c
+++ b/tools/gusb-main.c
@@ -519,6 +519,8 @@ main(int argc, char *argv[])
priv->usb_ctx = g_usb_context_new(NULL);
if (save_events)
context_flags |= G_USB_CONTEXT_FLAGS_SAVE_EVENTS;
+ if (verbose)
+ context_flags |= G_USB_CONTEXT_FLAGS_DEBUG;
g_usb_context_set_flags(priv->usb_ctx, context_flags);
/* add commands */