Reduce the parameter chaos by splitting the update function
This commit is contained in:
@@ -106,7 +106,7 @@ HELP;
|
||||
|
||||
switch ($this->getArgument(0)) {
|
||||
case "dryrun":
|
||||
$output = DBStructure::update($basePath, true, false);
|
||||
$output = DBStructure::dryRun();
|
||||
break;
|
||||
case "update":
|
||||
$force = $this->getOption(['f', 'force'], false);
|
||||
|
||||
Reference in New Issue
Block a user