summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/tool.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/tool.c b/common/tool.c
index 70bb4d2..cca18a2 100644
--- a/common/tool.c
+++ b/common/tool.c
@@ -182,8 +182,9 @@ command_usage (const p11_tool_command *commands)
static void
verbose_arg (void)
{
- putenv ("P11_KIT_DEBUG=all");
+ putenv ("P11_KIT_DEBUG=tool");
p11_message_loud ();
+ p11_debug_init ();
}
static void
@@ -191,6 +192,7 @@ quiet_arg (void)
{
putenv ("P11_KIT_DEBUG=");
p11_message_quiet ();
+ p11_debug_init ();
}
int