1653: Revert " imp: Add exitcode::USAGE exit code as suggested in #1327" r=me a=Dylan-DPC

Reverts clap-rs/clap#1637

Co-authored-by: Dylan DPC <dylan.dpc@gmail.com>
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
bors[bot] 2020-02-03 12:50:12 +00:00 committed by GitHub
commit f9818310e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -49,7 +49,6 @@ maintenance = {status = "actively-developed"}
[dependencies]
bitflags = "1.2"
exitcode = "1.1.2"
unicode-width = "0.1.4"
textwrap = "0.11"
indexmap = "1.0.1"

View file

@ -1197,7 +1197,7 @@ impl<'b> App<'b> {
i.lock().read_line(&mut s).unwrap();
}
drop(e);
process::exit(exitcode::USAGE);
process::exit(2);
}
e.exit()
@ -1272,7 +1272,7 @@ impl<'b> App<'b> {
}
drop(self);
drop(e);
process::exit(exitcode::USAGE);
process::exit(2);
}
drop(self);