From: Nicolas Boisselier Date: Mon, 8 Jan 2018 01:35:20 +0000 (+0000) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=67b96582b5e04d701faad2c57dd98c4efe07f3ef;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 22ddf698..d5050976 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -1141,10 +1141,10 @@ EOF; $this->page($this->db,[ [ 'help', 'This help' ], [ 'status', 'Database status' ], - [ 'ls', 'List tables' ], + [ 'ls', 'List tables [type,name,count,fields]' ], [ 'databases', 'List databases' ], - [ 'schema', 'Dump database structure only' ], - [ 'dump', 'Dump database structure with datas' ], + [ 'schema', 'Dump database structure only [/DB_TYPE]' ], + [ 'dump', 'Dump database structure with datas [/DB_TYPE]' ], [ 'csv', 'Dump database data in csv with table name as first colum' ], ],['command','description'],function(&$r){ $r['command'] = $this->page->tag('a',$r['command'],'href="' @@ -1194,8 +1194,8 @@ EOF; if ($action == 'help') { $this->page($this->table,[ [ 'help', 'Table help' ], - [ 'ls', 'List records' ], - [ 'fields', 'List fields' ], + [ 'ls', 'List records [fields]' ], + [ 'fields', 'List fields [max,maxlen]' ], [ 'status', 'Status page' ], ],['command','description'],function(&$r){ $r['command'] = $this->page->tag('a',$r['command'],'href="'