media-rescan also accepts hash

This commit is contained in:
Shish 2019-10-04 21:10:00 +01:00
parent 5b2e9e44a2
commit b6b16b9804

View File

@ -352,7 +352,7 @@ class Media extends Extension
public function onCommand(CommandEvent $event)
{
if ($event->cmd == "help") {
print "\tmedia-rescan <id>\n";
print "\tmedia-rescan <id / hash>\n";
print "\t\trefresh metadata for a given post\n\n";
}
if ($event->cmd == "media-rescan") {