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

Stop prepending the Cancel option to choice lists #4908

Merged
merged 2 commits into from
Dec 26, 2021

Conversation

DieterHolvoet
Copy link
Contributor

Fixes #4907.

@greg-1-anderson
Copy link
Member

Cancel is explicit. If you press [RETURN], the default option will be cancel. Existing Drush users are used to seeing the cancel option. I don't see the benefit of removing this.

@weitzman
Copy link
Member

weitzman commented Dec 6, 2021

I do see some benefit. It gets tedious to see these on a long wizard like field:create. Also, drush generate command does not do this. Still mulling this.

@greg-1-anderson
Copy link
Member

Sure, go ahead if you prefer. Maybe reserve 0 for cancel but don't print it as a compromise? Still slightly prefer keeping cancel in place.

@weitzman weitzman merged commit eb41746 into drush-ops:11.x Dec 26, 2021
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.

Stop prepending the Cancel option to choice lists
3 participants