From bd57349665e5ed233d310e975558c2b8865d4fc9 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 25 Sep 2008 03:50:45 +0000 Subject: [PATCH] Updating help for schema shell. Clarifying use of schema dump. Reformatting help for other commands. Closes #5407 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7661 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/schema.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/console/libs/schema.php b/cake/console/libs/schema.php index 195f743f8..6ab7ba029 100644 --- a/cake/console/libs/schema.php +++ b/cake/console/libs/schema.php @@ -419,9 +419,9 @@ class SchemaShell extends Shell { $this->out('Commands:'); $this->out("\n\tschema help\n\t\tshows this help message."); $this->out("\n\tschema view\n\t\tread and output contents of schema file"); - $this->out("\n\tschema generate\n\t\treads from 'connection' writes to 'path'\n\t\tTo force generation of all tables into the schema, use the -f param.\n\t\tUse 'schema generate snapshot ' to generate snapshots which you can use with the -s parameter in the other operations."); - $this->out("\n\tschema dump \n\t\tdump database sql based on schema file to filename in schema path. \n\t\tif filename is write, default will use the app directory name."); - $this->out("\n\tschema run create \n\t\tdrop tables and create database based on schema file\n\t\toptional arg for selecting schema name\n\t\toptional
arg for creating only one table\n\t\tpass the -s param with a number to use a snapshot\n\t\tTo see the changes, perform a dry run with the -dry param"); + $this->out("\n\tschema generate\n\t\treads from 'connection' writes to 'path'\n\t\tTo force generation of all tables into the schema, use the -f param.\n\t\tUse 'schema generate snapshot ' to generate snapshots\n\t\twhich you can use with the -s parameter in the other operations."); + $this->out("\n\tschema dump \n\t\tDump database sql based on schema file to . \n\t\tIf is write, schema dump will be written to a file\n\t\tthat has the same name as the app directory."); + $this->out("\n\tschema run create
\n\t\tDrop and create tables based on schema file\n\t\toptional arg for selecting schema name\n\t\toptional
arg for creating only one table\n\t\tpass the -s param with a number to use a snapshot\n\t\tTo see the changes, perform a dry run with the -dry param"); $this->out("\n\tschema run update
\n\t\talter tables based on schema file\n\t\toptional arg for selecting schema name.\n\t\toptional
arg for altering only one table.\n\t\tTo use a snapshot, pass the -s param with the snapshot number\n\t\tTo see the changes, perform a dry run with the -dry param"); $this->out(""); $this->_stop();