Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Exit codes #31

Open
hjwylde opened this issue Nov 17, 2015 · 3 comments
Open

Exit codes #31

hjwylde opened this issue Nov 17, 2015 · 3 comments

Comments

@hjwylde
Copy link
Owner

hjwylde commented Nov 17, 2015

hjwylde/omnifmt#2

@hjwylde
Copy link
Owner Author

hjwylde commented Nov 17, 2015

Exit codes should be as follows:

  • 0 for all files were or are now pretty.
  • 64 for some files are not pretty (unique to dry-run).
  • 65 for some files were unable to be prettified (unique to normal and patch).
  • 128 for fatal errors

@hjwylde
Copy link
Owner Author

hjwylde commented Nov 19, 2015

Further, if the user's command exits with a code >= 126 it should exit fast.

hjwylde pushed a commit that referenced this issue Nov 19, 2015
@hjwylde hjwylde modified the milestones: v0.2.0.0, v0.3.0.0 Nov 20, 2015
@hjwylde hjwylde modified the milestone: v0.3.0.0 Nov 27, 2015
@hjwylde
Copy link
Owner Author

hjwylde commented Dec 1, 2015

Scratch above, match hjwylde/omnifmt#2

@hjwylde hjwylde added the omnifmt label Dec 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant