Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

cli: Hide -r/--reuse from --help in favor of -e/--existing (#53924)

Eric Holkbb59cac88efe
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index 520f6e6cf2e..d46b90fdb77 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -73,7 +73,7 @@ struct Args {
#[arg(short, long, overrides_with_all = ["add", "reuse", "existing"])]
new: bool,
/// Reuse an existing window, replacing its workspace
- #[arg(short, long, overrides_with_all = ["add", "new", "existing"])]
+ #[arg(short, long, overrides_with_all = ["add", "new", "existing"], hide = true)]
reuse: bool,
/// Open in existing Zed window
#[arg(short = 'e', long = "existing", overrides_with_all = ["add", "new", "reuse"])]