File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
crates/rust-analyzer/src/bin Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,14 +171,16 @@ ARGS:
171
171
rust-analyzer-analysis-bench
172
172
173
173
USAGE:
174
- rust-analyzer analysis-bench [FLAGS] [OPTIONS] [PATH]
174
+ rust-analyzer analysis-bench [FLAGS] [OPTIONS]
175
175
176
176
FLAGS:
177
177
-h, --help Prints help information
178
178
-v, --verbose
179
179
180
180
OPTIONS:
181
+ --project <PATH> Path to directory with Cargo.toml
181
182
--complete <PATH:LINE:COLUMN> Compute completions at this location
183
+ --goto-def <PATH:LINE:COLUMN> Compute goto definition at this location
182
184
--highlight <PATH> Hightlight this file
183
185
184
186
ARGS:
@@ -187,7 +189,7 @@ ARGS:
187
189
return Ok ( Err ( HelpPrinted ) ) ;
188
190
}
189
191
190
- let path: PathBuf = matches. opt_value_from_str ( "--path " ) ?. unwrap_or_default ( ) ;
192
+ let path: PathBuf = matches. opt_value_from_str ( "--project " ) ?. unwrap_or_default ( ) ;
191
193
let highlight_path: Option < String > = matches. opt_value_from_str ( "--highlight" ) ?;
192
194
let complete_path: Option < Position > = matches. opt_value_from_str ( "--complete" ) ?;
193
195
let goto_def_path: Option < Position > = matches. opt_value_from_str ( "--goto-def" ) ?;
You can’t perform that action at this time.
0 commit comments