diff options
| author | David Barsky <me@davidbarsky.com> | 2025-04-10 11:30:14 -0400 |
|---|---|---|
| committer | David Barsky <me@davidbarsky.com> | 2025-04-10 11:30:59 -0400 |
| commit | 9e50a3009fd33beb024e48ab77ee751175d7356e (patch) | |
| tree | e033d0b5e570f95a64f358f19d06c798d6dfa52f /src/tools/rust-analyzer | |
| parent | 8f547bb82fdbd5c888368509f385b7ed95993afe (diff) | |
| download | rust-9e50a3009fd33beb024e48ab77ee751175d7356e.tar.gz rust-9e50a3009fd33beb024e48ab77ee751175d7356e.zip | |
internal: cleanup CLI flag documentation
Diffstat (limited to 'src/tools/rust-analyzer')
| -rw-r--r-- | src/tools/rust-analyzer/crates/rust-analyzer/src/cli/flags.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/flags.rs b/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/flags.rs index 3675bd71694..57f95d114d9 100644 --- a/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/flags.rs +++ b/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/flags.rs @@ -53,7 +53,7 @@ xflags::xflags! { /// Batch typecheck project and print summary statistics cmd analysis-stats { - /// Directory with Cargo.toml. + /// Directory with Cargo.toml or rust-project.json. required path: PathBuf optional --output format: OutputFormat @@ -74,7 +74,7 @@ xflags::xflags! { /// Don't run build scripts or load `OUT_DIR` values by running `cargo check` before analysis. optional --disable-build-scripts - /// Don't use expand proc macros. + /// Don't expand proc macros. optional --disable-proc-macros /// Run the proc-macro-srv binary at the specified path. optional --proc-macro-srv path: PathBuf @@ -101,7 +101,7 @@ xflags::xflags! { /// Run unit tests of the project using mir interpreter cmd run-tests { - /// Directory with Cargo.toml. + /// Directory with Cargo.toml or rust-project.json. required path: PathBuf } @@ -115,12 +115,12 @@ xflags::xflags! { } cmd diagnostics { - /// Directory with Cargo.toml. + /// Directory with Cargo.toml or rust-project.json. required path: PathBuf /// Don't run build scripts or load `OUT_DIR` values by running `cargo check` before analysis. optional --disable-build-scripts - /// Don't use expand proc macros. + /// Don't expand proc macros. optional --disable-proc-macros /// Run the proc-macro-srv binary at the specified path. optional --proc-macro-srv path: PathBuf @@ -128,25 +128,25 @@ xflags::xflags! { /// Report unresolved references cmd unresolved-references { - /// Directory with Cargo.toml. + /// Directory with Cargo.toml or rust-project.json. required path: PathBuf /// Don't run build scripts or load `OUT_DIR` values by running `cargo check` before analysis. optional --disable-build-scripts - /// Don't use expand proc macros. + /// Don't expand proc macros. optional --disable-proc-macros /// Run the proc-macro-srv binary at the specified path. optional --proc-macro-srv path: PathBuf } - /// prime caches, as rust-analyzer does typically at startup in interactive sessions. + /// Prime caches, as rust-analyzer does typically at startup in interactive sessions. cmd prime-caches { - /// Directory with Cargo.toml. + /// Directory with Cargo.toml or rust-project.json. required path: PathBuf /// Don't run build scripts or load `OUT_DIR` values by running `cargo check` before analysis. optional --disable-build-scripts - /// Don't use expand proc macros. + /// Don't expand proc macros. optional --disable-proc-macros /// Run the proc-macro-srv binary at the specified path. optional --proc-macro-srv path: PathBuf |
