From ec893a198fd20ee0c481ac410223fc8aaa246525 Mon Sep 17 00:00:00 2001 From: mcarton Date: Tue, 25 Oct 2016 15:09:56 +0200 Subject: [PATCH] Fix small nits on the help message --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6ae388401cf..44c3b61d22c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -122,16 +122,16 @@ fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> dr Other options are the same as `cargo rustc`. -To allow or deny a lint from the command line you can use `cargo clippy --` with -one of: +To allow or deny a lint from the command line you can use `cargo clippy --` +with: -W --warn OPT Set lint warnings -A --allow OPT Set lint allowed -D --deny OPT Set lint denied -F --forbid OPT Set lint forbidden -The feature `cargo-clippy` is automatically defined for convinence. You can use -it to allow or deny lints, eg.: +The feature `cargo-clippy` is automatically defined for convenience. You can use +it to allow or deny lints from the code, eg.: #[cfg_attr(feature = "cargo-clippy", allow(needless_lifetimes))] "#; -- 2.44.0