From 4ca0335714ea8f0aab0119b105603eae74bc2ee6 Mon Sep 17 00:00:00 2001 From: "E. S." Date: Sat, 8 Feb 2025 04:41:05 +0300 Subject: [PATCH] tools/import_article.php: fix usage --- tools/import_article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/import_article.php b/tools/import_article.php index 51dfc89..c8ba930 100644 --- a/tools/import_article.php +++ b/tools/import_article.php @@ -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) {