From d9bed8aa45bc9b206f48d837e6737ee24535d7a6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 21 Apr 2020 12:06:25 +0200 Subject: [PATCH] Cleanup args a bit --- crates/rust-analyzer/src/bin/args.rs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/crates/rust-analyzer/src/bin/args.rs b/crates/rust-analyzer/src/bin/args.rs index 5e19253a65c..b14409c39c0 100644 --- a/crates/rust-analyzer/src/bin/args.rs +++ b/crates/rust-analyzer/src/bin/args.rs @@ -84,7 +84,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -ra-cli-parse +rust-analyzer parse USAGE: rust-analyzer parse [FLAGS] @@ -104,7 +104,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -ra-cli-symbols +rust-analyzer symbols USAGE: rust-analyzer highlight [FLAGS] @@ -123,7 +123,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -ra-cli-highlight +rust-analyzer highlight USAGE: rust-analyzer highlight [FLAGS] @@ -143,7 +143,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -ra-cli-analysis-stats +rust-analyzer analysis-stats USAGE: rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH] @@ -193,7 +193,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -rust-analyzer-analysis-bench +rust-analyzer analysis-bench USAGE: rust-analyzer analysis-bench [FLAGS] [OPTIONS] @@ -236,7 +236,7 @@ pub(crate) fn parse() -> Result> { if matches.contains(["-h", "--help"]) { eprintln!( "\ -ra-cli-diagnostics +rust-analyzer diagnostics USAGE: rust-analyzer diagnostics [FLAGS] [PATH] @@ -269,7 +269,7 @@ pub(crate) fn parse() -> Result> { _ => { eprintln!( "\ -ra-cli +rust-analyzer USAGE: rust-analyzer @@ -281,6 +281,8 @@ pub(crate) fn parse() -> Result> { analysis-bench analysis-stats highlight + diagnostics + proc-macro parse symbols" );