From 658df7ac17abae55c14da852c5cd394911592de7 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 22 May 2021 09:27:29 +0200 Subject: [PATCH] Change Description of Config Flags * Make distinction clearer between certain flags --- CHANGELOG.md | 1 + zellij-utils/src/cli.rs | 6 +++--- zellij-utils/src/setup.rs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b274cf..18c389ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * Terminal compatibility: handle most OSC sequences (https://github.com/zellij-org/zellij/pull/517) * Split `layout` flag into `layout` and `layout-path` (https://github.com/zellij-org/zellij/pull/514) * Fix behaviour of the `clean` flag (https://github.com/zellij-org/zellij/pull/519) +* Make distinction clearer between certain configuration flags (https://github.com/zellij-org/zellij/pull/529) ## [0.11.0] - 2021-05-15 diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index 56e93edb..4b2fdbbf 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -20,7 +20,7 @@ pub struct CliArgs { #[structopt(long, parse(from_os_str))] pub server: Option, - /// Path to a layout yaml file + /// Name of a layout file in the layout directory #[structopt(short, long, parse(from_os_str))] pub layout: Option, @@ -28,11 +28,11 @@ pub struct CliArgs { #[structopt(long, parse(from_os_str))] pub layout_path: Option, - /// Change where zellij looks for the configuration + /// Change where zellij looks for the configuration file #[structopt(short, long, env=ZELLIJ_CONFIG_FILE_ENV, parse(from_os_str))] pub config: Option, - /// Change where zellij looks for the configuration + /// Change where zellij looks for the configuration directory #[structopt(long, env=ZELLIJ_CONFIG_DIR_ENV, parse(from_os_str))] pub config_dir: Option, diff --git a/zellij-utils/src/setup.rs b/zellij-utils/src/setup.rs index f46b2f52..0d442f0f 100644 --- a/zellij-utils/src/setup.rs +++ b/zellij-utils/src/setup.rs @@ -220,7 +220,7 @@ impl Setup { message.push_str(&format!("[ARROW SEPARATOR]: {}\n", ARROW_SEPARATOR)); message.push_str(&" Is the [ARROW_SEPARATOR] displayed correctly?\n"); - message.push_str(&" If not you may want to either start zellij with a compatible mode 'zellij options --simple-ui'\n"); + message.push_str(&" If not you may want to either start zellij with a compatible mode 'zellij options --simplified-ui'\n"); message.push_str(&" Or check the font that is in use:\n https://zellij.dev/documentation/compatibility.html#the-status-bar-fonts-dont-render-correctly\n"); message.push_str(&format!("[FEATURES]: {:?}\n", FEATURES));