diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-18 17:49:08 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-18 17:49:08 -0700 |
commit | a053871ddc6c2e9d395efa928d0546efffd52856 (patch) | |
tree | a22e129b3e0a737a62fde52d4e71d52b07988644 | |
parent | 4aa6c4e49f9c4a41fa72d841370886a8f49c06f4 (diff) |
update -> create on dumpschema options, easier for me to remember
-rw-r--r-- | scripts/dumpschema.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dumpschema.php b/scripts/dumpschema.php index c1b0ff4e0..613364487 100644 --- a/scripts/dumpschema.php +++ b/scripts/dumpschema.php @@ -26,13 +26,13 @@ Attempt to pull a schema definition for a given table. --all run over all defined core tables --diff show differences between the expected and live table defs --raw skip compatibility filtering for diffs - --update dump SQL that would be run to update or create this table + --create dump SQL that would be run to update or create this table --build dump SQL that would be run to create this table fresh END_OF_CHECKSCHEMA_HELP; -$longoptions = array('diff', 'all', 'build', 'update', 'raw'); +$longoptions = array('diff', 'all', 'create', 'update', 'raw'); require_once INSTALLDIR.'/scripts/commandline.inc'; function indentOptions($indent) @@ -215,7 +215,7 @@ if (count($args)) { foreach ($args as $tableName) { if (have_option('diff')) { dumpDiff($tableName, !have_option('raw')); - } else if (have_option('build')) { + } else if (have_option('create')) { dumpBuildTable($tableName); } else if (have_option('update')) { dumpEnsureTable($tableName); |