public function __construct() { parent::__construct(); $this->saveFailed = false; $this->mDescription = "Run a file or dump with several parsers"; $this->addOption('parser1', 'The first parser to compare.', true, true); $this->addOption('parser2', 'The second parser to compare.', true, true); $this->addOption('tidy', 'Run tidy on the articles.', false, false); $this->addOption('save-failed', 'Folder in which articles which differ will be stored.', false, true); $this->addOption('show-diff', 'Show a diff of the two renderings.', false, false); $this->addOption('diff-bin', 'Binary to use for diffing (can also be provided by DIFF env var).', false, false); $this->addOption('strip-parameters', 'Remove parameters of html tags to increase readability.', false, false); $this->addOption('show-parsed-output', 'Show the parsed html if both Parsers give the same output.', false, false); }
public function __construct() { parent::__construct(); $this->addOption('cache', 'Use and populate the preprocessor cache.', false, false); $this->addOption('preprocessor', 'Preprocessor to use.', false, false); }
public function __construct() { parent::__construct(); $this->mDescription = "Runs a regex in the revisions from a dump"; $this->addOption('regex', 'Searching regex', true, true); }