From c3c9beaebe7707977c86d2edb4ba1645b0e3cf2c Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 16 Oct 2023 11:41:29 +0200 Subject: [PATCH] pluginctl - minor change to previous, only show plugin name instead of origin of the call. --- src/sbin/pluginctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbin/pluginctl b/src/sbin/pluginctl index 3af204cb2..9ce98c94d 100755 --- a/src/sbin/pluginctl +++ b/src/sbin/pluginctl @@ -264,7 +264,7 @@ if (isset($opts['h'])) { if (empty($results[$when])) { $results[$when] = []; } - $results[$when][] = $func; + $results[$when][] = $name; } } } @@ -274,7 +274,7 @@ if (isset($opts['h'])) { foreach ($results as $key => $value) { if (is_array($value)) { - echo "$key {" . implode(',', $value) . "}\n"; + echo "$key => " . implode(',', $value) . "\n"; } else { echo "$key\n"; }