Skip to content

Conversation

xiongchiamiov
Copy link
Contributor

The --nosummary flag was inverted, which cause it to always be true.

Rather than just flip store_false to store_true, I opted to refactor the
internal name from nosummary to showSummary. This avoids double-negatives
("Are we not not showing the summary?"), making the logic easier to follow and
easier to find bugs in. I left the flag name as-is for compatability reasons.

Fixes #1.

The `--nosummary` flag was inverted, which cause it to always be true. Rather than just flip `store_false` to `store_true`, I opted to refactor the internal name from `nosummary` to `showSummary`. This avoids double-negatives ("Are we not not showing the summary?"), making the logic easier to follow and easier to find bugs in. I left the flag name as-is for compatability reasons. Fixes glamp#1.
glamp added a commit that referenced this pull request Jan 26, 2014
@glamp glamp merged commit 2775605 into glamp:master Jan 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants