Skip to content

Commit b548a24

Browse files
committed
refactor(cli): remove unused stdio flag from LSP command
The hidden --stdio argument was never used, so remove it to simplify the command interface.
1 parent b5c2136 commit b548a24

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ci/src/cli/mod.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,7 @@ enum Commands {
8787
about = "Start LSP server for IDE integration",
8888
long_about = "Starts a Language Server Protocol (LSP) server that provides CODEOWNERS information to supported editors"
8989
)]
90-
Lsp {
91-
/// Use stdio for LSP communication (passed by VS Code)
92-
#[arg(long, hide = true)]
93-
stdio: bool,
94-
},
90+
Lsp,
9591
}
9692

9793
#[derive(Subcommand, PartialEq, Debug)]
@@ -296,7 +292,7 @@ pub fn cli_match() -> Result<()> {
296292
}
297293
Commands::Config => commands::config::run()?,
298294
#[cfg(feature = "lsp")]
299-
Commands::Lsp { stdio: _ } => commands::lsp::run()?,
295+
Commands::Lsp => commands::lsp::run()?,
300296
}
301297

302298
Ok(())

0 commit comments

Comments
 (0)