Skip to content

Commit f7789d7

Browse files
committed
getopts
1 parent fb3805f commit f7789d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n_extract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
exit(0);
2424
}
2525
if (isset($options['p'])) {
26-
$paths = $options['p'];
26+
$paths = array_map('trim', explode(',', $options['p']));
2727
} else {
2828
$paths = ['pages', 'templates'];
2929
}

0 commit comments

Comments
 (0)