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

[Console] Improve input definition output for Boolean defaults #2885

Merged
merged 1 commit into from Dec 15, 2011
Merged

[Console] Improve input definition output for Boolean defaults #2885

merged 1 commit into from Dec 15, 2011

Conversation

jmikola
Copy link
Contributor

@jmikola jmikola commented Dec 15, 2011

This addresses an annoyance I had with command help printing (default: ) for arguments and options that default to false.

Bug fix: no
Feature addition: yes
Backwards compatibility break: no (documentation text/XML output is slightly changed)
Symfony2 tests pass: yes

Previously, Boolean defaults were printed as strings, which lead to true and false being printed as "1" and "", respectively. With this change, they are now printed as "true" and "false".
fabpot added a commit that referenced this pull request Dec 15, 2011
Commits
-------

d5a1343 [Console] Improve input definition output for Boolean defaults

Discussion
----------

[Console] Improve input definition output for Boolean defaults

This addresses an annoyance I had with command help printing `(default: )` for arguments and options that default to `false`.

```
Bug fix: no
Feature addition: yes
Backwards compatibility break: no (documentation text/XML output is slightly changed)
Symfony2 tests pass: yes
```
@fabpot fabpot merged commit d5a1343 into symfony:2.0 Dec 15, 2011
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.

None yet

2 participants