Skip to content

Commit

Permalink
docs(readme): mention exit status 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Oct 12, 2018
1 parent f14e34b commit ad83e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ usage: {json,toml,yaml}2json [-h] [-i INPUT] [-o OUTPUT]
[inputfile]
```

All of the commands above exit with status 0 on success and 1 on failure.
All of the commands above exit with status 0 on success, 1 on operational
failure and 2 when they fail to parse the command line.

If no `inputfile` or `-i INPUT` is given or it is `-` or a blank string the data
to convert is read from standard input. If no `-o OUTPUT` is given or it is `-`
Expand Down

0 comments on commit ad83e6a

Please sign in to comment.