]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/DatabaseStructure.php
Merge remote-tracking branch 'upstream/develop' into item-view
[friendica.git] / src / Console / DatabaseStructure.php
index b998c420b8c9adc4bf9224e87b9eff2e14b3c2fa..343c90023d8bfad831f6bd3f6cac074c18a3da3e 100644 (file)
@@ -48,23 +48,25 @@ class DatabaseStructure extends \Asika\SimpleConsole\Console
                $help = <<<HELP
 console dbstructure - Performs database updates
 Usage
-       bin/console dbstructure <command> [-h|--help|-?] [-e|--execute] |-f|--force] [-o|--override] [-v]
+       bin/console dbstructure <command> [options]
 
 Commands
-       dryrun   Show database update schema queries without running them
-       update   Update database schema
-       drop     Drop tables that aren't in use anymore
-       dumpsql  Dump database schema
-       toinnodb Convert all tables from MyISAM or InnoDB in the Antelope file format to InnoDB in the Barracuda file format
-       initial  Set needed initial values in the tables
-       version  Set the database to a given number
-
-Options
+    drop     Show tables that aren't in use by Friendica anymore and can be dropped
+       -e|--execute    Execute the dropping
+
+    update   Update database schema
+       -f|--force      Force the update command (Even if the database structure matches)
+       -o|--override   Override running or stalling updates
+
+    dryrun   Show database update schema queries without running them
+    dumpsql  Dump database schema
+    toinnodb Convert all tables from MyISAM or InnoDB in the Antelope file format to InnoDB in the Barracuda file format
+    initial  Set needed initial values in the tables
+    version  Set the database to a given number
+
+General Options
     -h|--help|-?       Show help information
     -v                 Show more debug information.
-       -e|--execute       Execute the dropping.
-    -f|--force         Force the update command (Even if the database structure matches)
-       -o|--override      Override running or stalling updates
 HELP;
                return $help;
        }