* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / maintenance / transstat.php
index f4de60e..8bdd7c0 100644 (file)
@@ -15,7 +15,7 @@
 require_once('commandLine.inc');
 require_once('languages.inc');
 
-if( isset($options['help']) ) { usage(); die(); }
+if( isset($options['help']) ) { usage(); wfDie(); }
 // default output is WikiText
 if( !isset($options['output']) ) { $options['output']='wiki'; }
 
@@ -121,7 +121,7 @@ switch ($options['output']) {
        case 'wiki':
                $out = new wikiStatsOutput(); break;
        default:
-               usage(); die();
+               usage(); wfDie();
        break;
 }