* @ingroup Maintenance
*/
-/** */
+$optionsWithArgs = [ 'cache' ];
+$optionsWithoutArgs = [
+ 'debug', 'help'
+];
require_once __DIR__ . '/commandLine.inc';
-$options = getopt( '', [ 'debug', 'help', 'cache:' ] );
-
$debug = isset( $options['debug'] );
$help = isset( $options['help'] );
-$cache = isset( $options['cache'] ) ? $options['cache'] : null;
+$cache = $options['cache'] ?? null;
if ( $help ) {
mccShowUsage();