diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-21 11:10:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-21 11:10:22 +0100 |
commit | a88887df0726cc3d390db4bfbbc1274195d87f91 (patch) | |
tree | b9bfde2fbddb7e6dc18acb7befadf1ca1c2e3a03 | |
parent | 192ad01ebdeae8916427fb74f21c03a774d2b3a6 (diff) | |
parent | d9bed8aa45bc9b206f48d837e6737ee24535d7a6 (diff) |
Merge #4071
4071: Cleanup args a bit r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | crates/rust-analyzer/src/bin/args.rs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/crates/rust-analyzer/src/bin/args.rs b/crates/rust-analyzer/src/bin/args.rs index 5e19253a6..b14409c39 100644 --- a/crates/rust-analyzer/src/bin/args.rs +++ b/crates/rust-analyzer/src/bin/args.rs | |||
@@ -84,7 +84,7 @@ impl Args { | |||
84 | if matches.contains(["-h", "--help"]) { | 84 | if matches.contains(["-h", "--help"]) { |
85 | eprintln!( | 85 | eprintln!( |
86 | "\ | 86 | "\ |
87 | ra-cli-parse | 87 | rust-analyzer parse |
88 | 88 | ||
89 | USAGE: | 89 | USAGE: |
90 | rust-analyzer parse [FLAGS] | 90 | rust-analyzer parse [FLAGS] |
@@ -104,7 +104,7 @@ FLAGS: | |||
104 | if matches.contains(["-h", "--help"]) { | 104 | if matches.contains(["-h", "--help"]) { |
105 | eprintln!( | 105 | eprintln!( |
106 | "\ | 106 | "\ |
107 | ra-cli-symbols | 107 | rust-analyzer symbols |
108 | 108 | ||
109 | USAGE: | 109 | USAGE: |
110 | rust-analyzer highlight [FLAGS] | 110 | rust-analyzer highlight [FLAGS] |
@@ -123,7 +123,7 @@ FLAGS: | |||
123 | if matches.contains(["-h", "--help"]) { | 123 | if matches.contains(["-h", "--help"]) { |
124 | eprintln!( | 124 | eprintln!( |
125 | "\ | 125 | "\ |
126 | ra-cli-highlight | 126 | rust-analyzer highlight |
127 | 127 | ||
128 | USAGE: | 128 | USAGE: |
129 | rust-analyzer highlight [FLAGS] | 129 | rust-analyzer highlight [FLAGS] |
@@ -143,7 +143,7 @@ FLAGS: | |||
143 | if matches.contains(["-h", "--help"]) { | 143 | if matches.contains(["-h", "--help"]) { |
144 | eprintln!( | 144 | eprintln!( |
145 | "\ | 145 | "\ |
146 | ra-cli-analysis-stats | 146 | rust-analyzer analysis-stats |
147 | 147 | ||
148 | USAGE: | 148 | USAGE: |
149 | rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH] | 149 | rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH] |
@@ -193,7 +193,7 @@ ARGS: | |||
193 | if matches.contains(["-h", "--help"]) { | 193 | if matches.contains(["-h", "--help"]) { |
194 | eprintln!( | 194 | eprintln!( |
195 | "\ | 195 | "\ |
196 | rust-analyzer-analysis-bench | 196 | rust-analyzer analysis-bench |
197 | 197 | ||
198 | USAGE: | 198 | USAGE: |
199 | rust-analyzer analysis-bench [FLAGS] [OPTIONS] | 199 | rust-analyzer analysis-bench [FLAGS] [OPTIONS] |
@@ -236,7 +236,7 @@ ARGS: | |||
236 | if matches.contains(["-h", "--help"]) { | 236 | if matches.contains(["-h", "--help"]) { |
237 | eprintln!( | 237 | eprintln!( |
238 | "\ | 238 | "\ |
239 | ra-cli-diagnostics | 239 | rust-analyzer diagnostics |
240 | 240 | ||
241 | USAGE: | 241 | USAGE: |
242 | rust-analyzer diagnostics [FLAGS] [PATH] | 242 | rust-analyzer diagnostics [FLAGS] [PATH] |
@@ -269,7 +269,7 @@ ARGS: | |||
269 | _ => { | 269 | _ => { |
270 | eprintln!( | 270 | eprintln!( |
271 | "\ | 271 | "\ |
272 | ra-cli | 272 | rust-analyzer |
273 | 273 | ||
274 | USAGE: | 274 | USAGE: |
275 | rust-analyzer <SUBCOMMAND> | 275 | rust-analyzer <SUBCOMMAND> |
@@ -281,6 +281,8 @@ SUBCOMMANDS: | |||
281 | analysis-bench | 281 | analysis-bench |
282 | analysis-stats | 282 | analysis-stats |
283 | highlight | 283 | highlight |
284 | diagnostics | ||
285 | proc-macro | ||
284 | parse | 286 | parse |
285 | symbols" | 287 | symbols" |
286 | ); | 288 | ); |