about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraeme Read <graeme@sigma957.net>2024-02-24 06:45:00 +0000
committerGraeme Read <graeme@sigma957.net>2024-02-24 06:45:00 +0000
commit30429f8ece19d701cff8f5c547c2069fbf651cfd (patch)
tree198263f4c78be75774a7d4fe53d03ac5c0fae0d9
parent03b3cb6be9f21c082f4206b35c7fe7f291c94eaa (diff)
downloadrust-30429f8ece19d701cff8f5c547c2069fbf651cfd.tar.gz
rust-30429f8ece19d701cff8f5c547c2069fbf651cfd.zip
feat: Add short flag -V for consistency with other rust tooling
-rw-r--r--crates/rust-analyzer/src/cli/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cli/flags.rs b/crates/rust-analyzer/src/cli/flags.rs
index 493e614dce6..3f68c5d053b 100644
--- a/crates/rust-analyzer/src/cli/flags.rs
+++ b/crates/rust-analyzer/src/cli/flags.rs
@@ -30,7 +30,7 @@ xflags::xflags! {
 
         default cmd lsp-server {
             /// Print version.
-            optional --version
+            optional -V, --version
 
             /// Dump a LSP config JSON schema.
             optional --print-config-schema