Skip to content

Commit

Permalink
refactor: Use USAGE_CODE constant
Browse files Browse the repository at this point in the history
I missed a case in #2604.  This will help people discover the
documentation describing why we chose the code we did.
  • Loading branch information
epage committed Oct 16, 2021
1 parent 2795ccd commit d3c8577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ impl<'help> App<'help> {

drop(self);
drop(e);
safe_exit(2);
safe_exit(USAGE_CODE);
}

drop(self);
Expand Down

0 comments on commit d3c8577

Please sign in to comment.