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

[BUGFIX] Remove default value when using InputOption::VALUE_NONE #114

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Classes/Command/AbstractRecordCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ protected function configure()
'b',
InputOption::VALUE_NONE,
'If set, <remoteId> is ignored and <data> is an array where each key is a remote ID and each '
. 'value field data. Each set of remote ID and field data will be processed.',
false
. 'value field data. Each set of remote ID and field data will be processed.'
)
->addOption(
'disableReferenceIndex',
null,
InputOption::VALUE_NONE,
'If set, the reference index will not be updated.',
false
'If set, the reference index will not be updated.'
);
}

Expand Down
3 changes: 1 addition & 2 deletions Classes/Command/ClearRecordHashCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ protected function configure()
'contains',
'c',
InputOption::VALUE_NONE,
'The remoteId argument is a partial remote ID. Match all IDs containing the string.',
false
'The remoteId argument is a partial remote ID. Match all IDs containing the string.'
);
}

Expand Down
3 changes: 1 addition & 2 deletions Classes/Command/CreateCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ protected function configure()
'update',
'u',
InputOption::VALUE_NONE,
'Quietly update the record if it already exists.',
false
'Quietly update the record if it already exists.'
);
}

Expand Down
3 changes: 1 addition & 2 deletions Classes/Command/PendingRelationsCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ protected function configure()
'resolve',
'r',
InputOption::VALUE_NONE,
'Attempt to resolve pending relations where both sides exist.',
false
'Attempt to resolve pending relations where both sides exist.'
);
}

Expand Down
3 changes: 1 addition & 2 deletions Classes/Command/UpdateCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ protected function configure()
'create',
'c',
InputOption::VALUE_NONE,
'Quietly create the record if it doesn\'t already exist.',
false
'Quietly create the record if it doesn\'t already exist.'
);
}

Expand Down
Loading