mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Document exit codes in man page.
This commit is contained in:
parent
55692926b9
commit
3b36c2c820
2 changed files with 10 additions and 2 deletions
|
@ -48,7 +48,6 @@ data Flag = Flag String String
|
|||
data Status =
|
||||
NoProblems
|
||||
| SomeProblems
|
||||
| BadInput
|
||||
| SupportFailure
|
||||
| SyntaxFailure
|
||||
| RuntimeException
|
||||
|
@ -144,7 +143,6 @@ statusToCode status =
|
|||
case status of
|
||||
NoProblems -> ExitSuccess
|
||||
SomeProblems -> ExitFailure 1
|
||||
BadInput -> ExitFailure 5
|
||||
SyntaxFailure -> ExitFailure 3
|
||||
SupportFailure -> ExitFailure 4
|
||||
RuntimeException -> ExitFailure 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue