Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --skip-* options to lower flags #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beuss
Copy link
Contributor

@beuss beuss commented Jan 25, 2019

Some options default to true without any mean to set them to false.
Declare a new list of options that can be negated through
--skip-[option]. Note that --skip* handling differs from mysqldump one
since we alway process it last whereas mysqldump processes options by
appearance order.

Some options default to true without any mean to set them to false.
Declare a new list of options that can be negated through
--skip-[option]. Note that --skip* handling differs from mysqldump one
since we alway process it last whereas mysqldump processes options by
appearance order.
@@ -185,6 +201,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
], null);
$user = $dumpSettings['user'];

foreach(self::$skipable_options as $option) {
if($input->getOption("skip-$option")) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after if

@@ -185,6 +201,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
], null);
$user = $dumpSettings['user'];

foreach(self::$skipable_options as $option) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after foreach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants