diff options
author | Laurențiu Nicola <[email protected]> | 2020-02-17 20:07:24 +0000 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2020-02-17 20:07:24 +0000 |
commit | b6b8fd9525099a54fa2065d55609808636bb5673 (patch) | |
tree | 7ab4c825c2919090de7a0570ba9da0790c004de2 /crates | |
parent | aadab96c9d68938bdb90688af02b675dbbb7742d (diff) |
Replace ra_cli mentions
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_lsp_server/src/args.rs | 14 | ||||
-rw-r--r-- | crates/ra_prof/src/lib.rs | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/crates/ra_lsp_server/src/args.rs b/crates/ra_lsp_server/src/args.rs index 89e2139ce..3890fe13a 100644 --- a/crates/ra_lsp_server/src/args.rs +++ b/crates/ra_lsp_server/src/args.rs | |||
@@ -74,7 +74,7 @@ impl Args { | |||
74 | ra-cli-parse | 74 | ra-cli-parse |
75 | 75 | ||
76 | USAGE: | 76 | USAGE: |
77 | ra_cli parse [FLAGS] | 77 | ra_lsp_server parse [FLAGS] |
78 | 78 | ||
79 | FLAGS: | 79 | FLAGS: |
80 | -h, --help Prints help inforamtion | 80 | -h, --help Prints help inforamtion |
@@ -94,7 +94,7 @@ FLAGS: | |||
94 | ra-cli-symbols | 94 | ra-cli-symbols |
95 | 95 | ||
96 | USAGE: | 96 | USAGE: |
97 | ra_cli highlight [FLAGS] | 97 | ra_lsp_server highlight [FLAGS] |
98 | 98 | ||
99 | FLAGS: | 99 | FLAGS: |
100 | -h, --help Prints help inforamtion" | 100 | -h, --help Prints help inforamtion" |
@@ -113,7 +113,7 @@ FLAGS: | |||
113 | ra-cli-highlight | 113 | ra-cli-highlight |
114 | 114 | ||
115 | USAGE: | 115 | USAGE: |
116 | ra_cli highlight [FLAGS] | 116 | ra_lsp_server highlight [FLAGS] |
117 | 117 | ||
118 | FLAGS: | 118 | FLAGS: |
119 | -h, --help Prints help information | 119 | -h, --help Prints help information |
@@ -133,7 +133,7 @@ FLAGS: | |||
133 | ra-cli-analysis-stats | 133 | ra-cli-analysis-stats |
134 | 134 | ||
135 | USAGE: | 135 | USAGE: |
136 | ra_cli analysis-stats [FLAGS] [OPTIONS] [PATH] | 136 | ra_lsp_server analysis-stats [FLAGS] [OPTIONS] [PATH] |
137 | 137 | ||
138 | FLAGS: | 138 | FLAGS: |
139 | -h, --help Prints help information | 139 | -h, --help Prints help information |
@@ -168,10 +168,10 @@ ARGS: | |||
168 | if matches.contains(["-h", "--help"]) { | 168 | if matches.contains(["-h", "--help"]) { |
169 | eprintln!( | 169 | eprintln!( |
170 | "\ | 170 | "\ |
171 | ra_cli-analysis-bench | 171 | ra_lsp_server-analysis-bench |
172 | 172 | ||
173 | USAGE: | 173 | USAGE: |
174 | ra_cli analysis-bench [FLAGS] [OPTIONS] [PATH] | 174 | ra_lsp_server analysis-bench [FLAGS] [OPTIONS] [PATH] |
175 | 175 | ||
176 | FLAGS: | 176 | FLAGS: |
177 | -h, --help Prints help information | 177 | -h, --help Prints help information |
@@ -207,7 +207,7 @@ ARGS: | |||
207 | ra-cli | 207 | ra-cli |
208 | 208 | ||
209 | USAGE: | 209 | USAGE: |
210 | ra_cli <SUBCOMMAND> | 210 | ra_lsp_server <SUBCOMMAND> |
211 | 211 | ||
212 | FLAGS: | 212 | FLAGS: |
213 | -h, --help Prints help information | 213 | -h, --help Prints help information |
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index c0bfbc2ee..7ff8db58a 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs | |||
@@ -351,13 +351,13 @@ impl Drop for Scope { | |||
351 | /// 2. Build with `cpu_profiler` feature. | 351 | /// 2. Build with `cpu_profiler` feature. |
352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. | 352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. |
353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). | 353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). |
354 | /// 5. Use something like `pprof -svg target/release/ra_cli ./out.profile` to see the results. | 354 | /// 5. Use something like `pprof -svg target/release/ra_lsp_server ./out.profile` to see the results. |
355 | /// | 355 | /// |
356 | /// For example, here's how I run profiling on NixOS: | 356 | /// For example, here's how I run profiling on NixOS: |
357 | /// | 357 | /// |
358 | /// ```bash | 358 | /// ```bash |
359 | /// $ nix-shell -p gperftools --run \ | 359 | /// $ nix-shell -p gperftools --run \ |
360 | /// 'cargo run --release -p ra_cli -- parse < ~/projects/rustbench/parser.rs > /dev/null' | 360 | /// 'cargo run --release -p ra_lsp_server -- parse < ~/projects/rustbench/parser.rs > /dev/null' |
361 | /// ``` | 361 | /// ``` |
362 | #[derive(Debug)] | 362 | #[derive(Debug)] |
363 | pub struct CpuProfiler { | 363 | pub struct CpuProfiler { |