aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-02-10 18:42:57 +0000
committerGitHub <noreply@github.com>2019-02-10 18:42:57 +0000
commit83d7f60449ec7b0a1d9700568af3164f73f81f32 (patch)
treed686f0bf872d98d87a67ab310ff03660a6e54c06
parentb55e219bc4a5378caa9e0070cdf59a9be7ec48d1 (diff)
downloadalacritty-83d7f60449ec7b0a1d9700568af3164f73f81f32.tar.gz
alacritty-83d7f60449ec7b0a1d9700568af3164f73f81f32.zip
Fix dimensions CLI/manpage docs
-rw-r--r--CHANGELOG.md1
-rw-r--r--alacritty.man2
-rw-r--r--src/cli.rs2
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 14fc76cb..94ebaf86 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Reliably remove log file when Alacritty is closed and persistent logging is disabled
- Remove selections when clearing the screen partially (scrolling horizontally in less)
- Crash/Freeze when shrinking the font size too far
+- Documentation of the `--dimensions` flag have been updated to display the correct default
### Removed
diff --git a/alacritty.man b/alacritty.man
index cf5a480f..753c16b1 100644
--- a/alacritty.man
+++ b/alacritty.man
@@ -50,7 +50,7 @@ Specify alternative configuration file [default: $XDG_CONFIG_HOME/alacritty/alac
.HP
\fB\-d\fR, \fB\-\-dimensions\fR <columns> <lines>
.IP
-Defines the window dimensions. Falls back to size specified by window manager if set to 0x0 [default: 80x24]
+Defines the window dimensions. Falls back to size specified by window manager if set to 0x0 [default: 0x0]
.TP
\fB\-t\fR, \fB\-\-title\fR <title>
Defines the window title [default: Alacritty]
diff --git a/src/cli.rs b/src/cli.rs
index 1d16b6bc..63faa5b5 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -82,7 +82,7 @@ impl Options {
.short("d")
.value_names(&["columns", "lines"])
.help("Defines the window dimensions. Falls back to size specified by \
- window manager if set to 0x0 [default: 80x24]"))
+ window manager if set to 0x0 [default: 0x0]"))
.arg(Arg::with_name("title")
.long("title")
.short("t")