X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fcdb.php;h=0870d6d41ed4b697a6d83f89113f52218ac5af2e;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hp=5aaf01f32ff16437678c42158ff4473cec07f1fc;hpb=899bd46cbb1695a1e5fbce81839dbc7a352ceeb1;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cdb.php b/maintenance/cdb.php index 5aaf01f32f..0870d6d41e 100644 --- a/maintenance/cdb.php +++ b/maintenance/cdb.php @@ -21,20 +21,20 @@ * @todo document * @ingroup Maintenance */ -use \Cdb\Exception as CdbException; -use \Cdb\Reader as CdbReader; -/** */ +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'; }