mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
pluginctl - minor change to previous, only show plugin name instead of origin of the call.
This commit is contained in:
parent
df54b2d0f6
commit
c3c9beaebe
@ -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";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user