Merge "Use local context to get messages and don't use implicit Message object to...
[lhc/web/wiklou.git] / tests / parserTests.php
index 854f077..d930ac5 100644 (file)
@@ -24,8 +24,8 @@
  * @ingroup Testing
  */
 
-$options = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled' );
-$optionsWithArgs = array( 'regex', 'seed', 'setversion' );
+$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled' );
+$optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' );
 
 require_once( dirname( __FILE__ ) . '/../maintenance/commandLine.inc' );
 
@@ -41,6 +41,7 @@ Options:
   --color[=yes|no] Override terminal detection and force color output on or off
                    use wgCommandLineDarkBg = true; if your term is dark
   --regex          Only run tests whose descriptions which match given regex
+  --filter         Alias for --regex
   --file=<testfile> Run test cases from a custom file instead of parserTests.txt
   --record         Record tests in database
   --compare        Compare with recorded results, without updating the database.