Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Self-update rollback option accepts a value, which is not very clear #105

Closed
rjkip opened this issue Feb 17, 2017 · 0 comments
Closed

Self-update rollback option accepts a value, which is not very clear #105

rjkip opened this issue Feb 17, 2017 · 0 comments
Labels
Milestone

Comments

@rjkip
Copy link
Contributor

rjkip commented Feb 17, 2017

Self-update command's rollback option accepts a value, which is not very clear to the user. Only when the user specifies a truthy value is the rollback performed. It's expected to be a flag.

->addOption('rollback', null, InputOption::VALUE_NONE | InputOption::VALUE_OPTIONAL);

Specify only InputOption::VALUE_NONE.

@rjkip rjkip added the bug label Feb 17, 2017
@rjkip rjkip added this to the 3.0.0 milestone Feb 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant