summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/cli.rs
diff options
context:
space:
mode:
authorSpyros Roum <spyros.roum@posteo.net>2022-05-28 03:20:41 -0700
committerGitHub <noreply@github.com>2022-05-28 12:20:41 +0200
commit2f58835f07035345f7ed62675bc7364b12ea7ba2 (patch)
tree9fabcd721a689b3bf0a25b3953b4bc8210ebc83d /zellij-utils/src/cli.rs
parentfd79b22d59ec18e0b9672b27ab29c286651048a0 (diff)
feat(cli): merge --layout and --layout-path (#1426)
* Merge --layout and --layout-path * Fix e2e tests * style(comment): reword help text Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r--zellij-utils/src/cli.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs
index 39ee0cbf6..0a8d8a9e3 100644
--- a/zellij-utils/src/cli.rs
+++ b/zellij-utils/src/cli.rs
@@ -26,14 +26,10 @@ pub struct CliArgs {
#[clap(long, short, overrides_with = "session")]
pub session: Option<String>,
- /// Name of a layout file in the layout directory
+ /// Name of a predefined layout or path to a layout file
#[clap(short, long, parse(from_os_str), overrides_with = "layout")]
pub layout: Option<PathBuf>,
- /// Path to a layout yaml file
- #[clap(long, parse(from_os_str), overrides_with = "layout_path")]
- pub layout_path: Option<PathBuf>,
-
/// Change where zellij looks for the configuration file
#[clap(short, long, overrides_with = "config", env = ZELLIJ_CONFIG_FILE_ENV, parse(from_os_str))]
pub config: Option<PathBuf>,