* @ingroup MaintenanceLanguage
*/
+$optionsWithArgs = [
+ 'lang', 'level', 'blacklist', 'whitelist', 'wikilang', 'output', 'prefix'
+];
+$optionsWithoutArgs = [
+ 'help', 'links', 'noexif', 'easy', 'duplicate', 'all'
+];
require_once __DIR__ . '/../commandLine.inc';
require_once 'checkLanguage.inc';
require_once 'languages.inc';
try {
$cli->execute();
-} catch ( MWException $e ) {
+} catch ( Exception $e ) {
print 'Error: ' . $e->getMessage() . "\n";
}