Skip to content

Commit

Permalink
Auto merge of rust-lang#12951 - jonas-schievink:doc-cli-stability, r=…
Browse files Browse the repository at this point in the history
…Veykril

internal: Document CLI flag stability
  • Loading branch information
bors committed Aug 8, 2022
2 parents 3805067 + fd00bd4 commit 20d6441
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/rust-analyzer/src/cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ xflags::xflags! {
src "./src/cli/flags.rs"

/// LSP server for the Rust programming language.
///
/// Subcommands and their flags do not provide any stability guarantees and may be removed or
/// changed without notice. Top-level flags that are not are marked as [Unstable] provide
/// backwards-compatibility and may be relied on.
cmd rust-analyzer {
/// Verbosity level, can be repeated multiple times.
repeated -v, --verbose
Expand All @@ -21,7 +25,7 @@ xflags::xflags! {
/// Flush log records to the file immediately.
optional --no-log-buffering

/// Wait until a debugger is attached to (requires debug build).
/// [Unstable] Wait until a debugger is attached to (requires debug build).
optional --wait-dbg

default cmd lsp-server {
Expand Down

0 comments on commit 20d6441

Please sign in to comment.