Smalyshev has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250908
Change subject: Fix options option - it should accept an argument
......................................................................
Fix options option - it should accept an argument
Change-Id: If299df90b27bbd1080777ca439cec72a83d571c2
---
M maintenance/runSearch.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/08/250908/1
diff --git a/maintenance/runSearch.php b/maintenance/runSearch.php
index 44a211a..fe600f2 100644
--- a/maintenance/runSearch.php
+++ b/maintenance/runSearch.php
@@ -46,7 +46,7 @@
$this->addOption( 'type', 'What type of search to run, prefix,
suggest or full_text. ' .
'defaults to full_text.', false, true );
$this->addOption( 'options', 'A JSON object mapping from global
variable to ' .
- 'its test value' );
+ 'its test value', false, true );
$this->addOption( 'fork', 'Fork multiple processes to run
queries from.' .
'defaults to false.', false, true );
}
--
To view, visit https://gerrit.wikimedia.org/r/250908
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If299df90b27bbd1080777ca439cec72a83d571c2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits