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

Support custom exit codes in `WP_CLI::error()` #2440

Merged
merged 1 commit into from Feb 3, 2016

Conversation

@danielbachhuber
Copy link
Member

commented Feb 3, 2016

For instance:

WP_CLI::error( 'This is return code 5.', 5 );

Fixes #2386

Support custom exit codes in `WP_CLI::error()`
For instance:

```
WP_CLI::error( 'This is return code 5.', 5 );
```

@danielbachhuber danielbachhuber modified the milestone: 0.23.0 Feb 3, 2016

danielbachhuber added a commit that referenced this pull request Feb 3, 2016
Merge pull request #2440 from wp-cli/2386-custom-exit
Support custom exit codes in `WP_CLI::error()`

@danielbachhuber danielbachhuber merged commit 17af557 into master Feb 3, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@danielbachhuber danielbachhuber deleted the 2386-custom-exit branch Feb 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.