mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
cli: Hide -r/--reuse from --help in favor of -e/--existing (#53924)
Soft-deprecates the `-r`/`--reuse` CLI flag by hiding it from `--help` output. The flag remains fully functional for backward compatibility, but new users will discover `-e`/`--existing` instead. The change is a single `hide = true` addition to the clap arg attribute. Release Notes: - N/A
This commit is contained in:
parent
edac6a7b7a
commit
bb59cac88e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"])]
|
||||
|
|
|
|||
Loading…
Reference in a new issue