Skip to content

Commit

Permalink
docs(error): Update reported failure code
Browse files Browse the repository at this point in the history
Fixes #3332
  • Loading branch information
epage committed Jan 24, 2022
1 parent a7f33ef commit 43673a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ impl Error {

/// Prints the error and exits.
///
/// Depending on the error kind, this either prints to `stderr` and exits with a status of `1`
/// Depending on the error kind, this either prints to `stderr` and exits with a status of `2`
/// or prints to `stdout` and exits with a status of `0`.
pub fn exit(&self) -> ! {
if self.use_stderr() {
Expand Down

0 comments on commit 43673a1

Please # to comment.