]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 8 Jan 2018 01:35:20 +0000 (01:35 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 8 Jan 2018 01:35:20 +0000 (01:35 +0000)
www/dbq/dbq.php

index 22ddf698562a4a83ef87788dc049226da19f4837..d5050976b430827029a418fb278d89ff1386c909 100644 (file)
@@ -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="'