X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=maintenance%2Fcdb.php;h=bff2c13faf21fb494c752e2627baa7935287cd63;hb=2c8f7978df47f338ee6e245e3efba6175ba425e9;hp=5aaf01f32ff16437678c42158ff4473cec07f1fc;hpb=4618f70793d1178ca4c646ef397cf17b1cc70b44;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cdb.php b/maintenance/cdb.php index 5aaf01f32f..bff2c13faf 100644 --- a/maintenance/cdb.php +++ b/maintenance/cdb.php @@ -24,17 +24,16 @@ use \Cdb\Exception as CdbException; use \Cdb\Reader as CdbReader; -/** */ require_once __DIR__ . '/commandLine.inc'; function cdbShowHelp( $command ) { - $commandList = array( + $commandList = [ 'load' => 'load a cdb file for reading', 'get' => 'get a value for a key', 'exit' => 'exit cdb', 'quit' => 'exit cdb', 'help' => 'help about a command', - ); + ]; if ( !$command ) { $command = 'fullhelp'; }