Skip to content

Commit 3640407

Browse files
committed
getopts
1 parent f7789d7 commit 3640407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n_add_t.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
exit(0);
1717
}
1818
if (isset($options['p'])) {
19-
$paths = $options['p'];
19+
$paths = array_map('trim', explode(',', $options['p']));
2020
} else {
2121
$paths = ['pages', 'templates'];
2222
}

0 commit comments

Comments
 (0)