tools/import_article.php: fix usage
This commit is contained in:
parent
f53f467e0b
commit
4ca0335714
@ -41,7 +41,7 @@ exit(0);
|
||||
function getInput() {
|
||||
global $argv;
|
||||
|
||||
$usage = "usage: $argv[0] --ru ./ru.txt --en ./en.txt --ru-title TITLE --en-title TITLE\n";
|
||||
$usage = "usage: $argv[0] --ru ./ru.txt --en ./en.txt --ru-title TITLE --en-title TITLE --short-name NAME\n";
|
||||
$option_names = ['ru', 'en', 'ru-title', 'en-title', 'short-name'];
|
||||
$options = getopt('', array_map(fn($o) => $o.':', $option_names));
|
||||
foreach ($option_names as $option_name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user