summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-02-06 21:10:45 +0000
committerGitHub <noreply@github.com>2019-02-06 21:10:45 +0000
commita7a6bf53d4bbb50940559f3a411aba5c474b3409 (patch)
tree877dd17e0dfd0c738e6010a69a6a260384ef8843 /src/cli.rs
parent7eb0ea82ef491f277b8278b64272dd7f245c5953 (diff)
downloadalacritty-a7a6bf53d4bbb50940559f3a411aba5c474b3409.tar.gz
alacritty-a7a6bf53d4bbb50940559f3a411aba5c474b3409.zip
Set window title on Wayland
Fixes #1582. Fixes #1875.
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli.rs b/src/cli.rs
index af8346f9..1d16b6bc 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -16,7 +16,7 @@ use clap::{Arg, App, crate_name, crate_version, crate_authors, crate_description
use crate::index::{Line, Column};
use crate::config::{Dimensions, Shell};
-use crate::window::{DEFAULT_TITLE, DEFAULT_CLASS};
+use crate::window::{DEFAULT_NAME};
use std::path::{Path, PathBuf};
use std::borrow::Cow;
@@ -87,11 +87,11 @@ impl Options {
.long("title")
.short("t")
.takes_value(true)
- .help(&format!("Defines the window title [default: {}]", DEFAULT_TITLE)))
+ .help(&format!("Defines the window title [default: {}]", DEFAULT_NAME)))
.arg(Arg::with_name("class")
.long("class")
.takes_value(true)
- .help(&format!("Defines window class on X11 [default: {}]", DEFAULT_CLASS)))
+ .help(&format!("Defines window class on X11 [default: {}]", DEFAULT_NAME)))
.arg(Arg::with_name("q")
.short("q")
.multiple(true)