From 83d7f60449ec7b0a1d9700568af3164f73f81f32 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sun, 10 Feb 2019 18:42:57 +0000 Subject: [PATCH] Fix dimensions CLI/manpage docs --- CHANGELOG.md | 1 + alacritty.man | 2 +- src/cli.rs | 2 +- 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 .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 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")