X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmcc.php;h=784ba0ea357496bee9c3d0118a0331561587e40a;hb=801a8bdaa38cea5ff4db0440c82e9eb83e083772;hp=0fff823a0f5e042c6a32e537e868124044ce0a3b;hpb=fb7b3eebeb8de47eb42e8d6ccf204106a2d6d9e4;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mcc.php b/maintenance/mcc.php index 0fff823a0f..784ba0ea35 100644 --- a/maintenance/mcc.php +++ b/maintenance/mcc.php @@ -22,11 +22,12 @@ * @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;