diff options
Diffstat (limited to 'zellij-utils/src/cli.rs')
-rw-r--r-- | zellij-utils/src/cli.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/zellij-utils/src/cli.rs b/zellij-utils/src/cli.rs index 78615d929..2c1aeba37 100644 --- a/zellij-utils/src/cli.rs +++ b/zellij-utils/src/cli.rs @@ -1,6 +1,8 @@ -use crate::consts::{ZELLIJ_CONFIG_DIR_ENV, ZELLIJ_CONFIG_FILE_ENV}; -use crate::input::options::Options; use crate::setup::Setup; +use crate::{ + consts::{ZELLIJ_CONFIG_DIR_ENV, ZELLIJ_CONFIG_FILE_ENV}, + input::options::CliOptions, +}; use serde::{Deserialize, Serialize}; use std::path::PathBuf; use structopt::StructOpt; @@ -51,7 +53,7 @@ pub struct CliArgs { pub enum Command { /// Change the behaviour of zellij #[structopt(name = "options")] - Options(Options), + Options(CliOptions), /// Setup zellij and check its configuration #[structopt(name = "setup")] @@ -66,7 +68,7 @@ pub enum Command { pub enum SessionCommand { /// Change the behaviour of zellij #[structopt(name = "options")] - Options(Options), + Options(CliOptions), } #[derive(Debug, StructOpt, Clone, Serialize, Deserialize)] |