Improved help texts
This commit is contained in:
parent
246a90b0e6
commit
1e27396851
|
@ -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
|
||||
drop Show tables that aren't in use by Friendica anymore and can be dropped
|
||||
-e|--execute Execute the dropping
|
||||
|
||||
Options
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue