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

Honor no-color option from spec command #5168

Merged
merged 1 commit into from Oct 25, 2017
Merged

Honor no-color option from spec command #5168

merged 1 commit into from Oct 25, 2017

Conversation

luislavena
Copy link
Contributor

Prior this change, crystal spec only recognized --no-color when provided as child command additional arguments.

This worked:

$ crystal spec -- --no-color

However, this didn't:

$ crystal spec --no-color

This change ensures that option specified to spec command is passed to child process.

Thank you.
❤️ ❤️ ❤️

Fixes #1587
Ref #4292

Prior this change, `crystal spec` only recognized `--no-color` when
provided as child command additional arguments.

This worked:

    $ crystal spec -- --no-color

However, this didn't:

    $ crystal spec --no-color

This change ensures that option specified to `spec` command is passed
to child process.

Fixes #1587
Ref #4292
Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙇

@asterite asterite merged commit 08aaa7b into crystal-lang:master Oct 25, 2017
@asterite asterite added this to the Next milestone Oct 25, 2017
@luislavena luislavena deleted the pass-spec-no-color-option branch January 2, 2018 22:23
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

4 participants