-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runtime: Improve the failure mode for CLI commands
Previously, the CLI always exited with EXIT_SUCCESS even if the command displayed the usage info (a failure mode that should probably result in EXIT_FAILURE). This is unfortunate because it means other programs can't detect that a command, e.g. a build or test runner, has failed. The snapshot test suite has been updated to receive more inputs, but the `tmpfile` thing is a bit sketchy.
- Loading branch information
1 parent
272fca7
commit 2ede5a5
Showing
3 changed files
with
81 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters