pluginctl - minor change to previous, only show plugin name instead of origin of the call.

This commit is contained in:
Ad Schellevis 2023-10-16 11:41:29 +02:00
parent df54b2d0f6
commit c3c9beaebe

View File

@ -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";
}