Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 30429f8

Browse files
committedFeb 24, 2024
feat: Add short flag -V for consistency with other rust tooling
1 parent 03b3cb6 commit 30429f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎crates/rust-analyzer/src/cli/flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ xflags::xflags! {
3030

3131
default cmd lsp-server {
3232
/// Print version.
33-
optional --version
33+
optional -V, --version
3434

3535
/// Dump a LSP config JSON schema.
3636
optional --print-config-schema

0 commit comments

Comments
 (0)
Please sign in to comment.