Improved help texts
This commit is contained in:
parent
246a90b0e6
commit
1e27396851
|
@ -48,23 +48,25 @@ class DatabaseStructure extends \Asika\SimpleConsole\Console
|
||||||
$help = <<<HELP
|
$help = <<<HELP
|
||||||
console dbstructure - Performs database updates
|
console dbstructure - Performs database updates
|
||||||
Usage
|
Usage
|
||||||
bin/console dbstructure <command> [-h|--help|-?] [-e|--execute] |-f|--force] [-o|--override] [-v]
|
bin/console dbstructure <command> [options]
|
||||||
|
|
||||||
Commands
|
Commands
|
||||||
dryrun Show database update schema queries without running them
|
drop Show tables that aren't in use by Friendica anymore and can be dropped
|
||||||
update Update database schema
|
-e|--execute Execute the dropping
|
||||||
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
|
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
|
-h|--help|-? Show help information
|
||||||
-v Show more debug 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;
|
HELP;
|
||||||
return $help;
|
return $help;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user