From 43673a1bd1ca902b789759ebb70006f4f4ebd167 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 24 Jan 2022 08:11:13 -0600 Subject: [PATCH] docs(error): Update reported failure code Fixes #3332 --- src/parse/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/errors.rs b/src/parse/errors.rs index 454834b965a..e2e5929d321 100644 --- a/src/parse/errors.rs +++ b/src/parse/errors.rs @@ -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() {