From a152365c143e3b7c6221b4edb95d383e365ef65b Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 10 Dec 2022 19:54:06 -0500 Subject: Add -T short form for --title Debian-based distributions provide a standard interface to launch a terminal via the x-terminal-emulator name. In order for a terminal emualtor to satisfy that interface, it must * Be VT100 compatiable * Support the "-e " CLI option * Support the "-T " CLI option Adjust the short form of --title accordingly, providing -t as an alias to avoid breaking any existing usage. --- alacritty/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src') diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs index d03d2f84..38707036 100644 --- a/alacritty/src/cli.rs +++ b/alacritty/src/cli.rs @@ -238,7 +238,7 @@ impl From<TerminalOptions> for PtyConfig { #[derive(Serialize, Deserialize, Args, Default, Debug, Clone, PartialEq, Eq)] pub struct WindowIdentity { /// Defines the window title [default: Alacritty]. - #[clap(short, long)] + #[clap(short = 'T', short_alias('t'), long)] pub title: Option<String>, /// Defines window class/app_id on X11/Wayland [default: Alacritty]. -- cgit