diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 01:13:16 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:48:17 +0530 |
| commit | d33106431dd22759b133a838337427a388f6008f (patch) | |
| tree | a270cd5ea1d0cfb668706977057c5501e6b4043b /src/cli.rs | |
| parent | Introduce IpcReceiverWIthContext and move ipc stuff to common/ipc.rs (diff) | |
| download | sl0ppij-d33106431dd22759b133a838337427a388f6008f.tar.gz sl0ppij-d33106431dd22759b133a838337427a388f6008f.tar.xz sl0ppij-d33106431dd22759b133a838337427a388f6008f.zip | |
Fix after rebase
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,9 @@ use super::common::utils::consts::{ZELLIJ_CONFIG_DIR_ENV, ZELLIJ_CONFIG_FILE_ENV}; +use serde::{Deserialize, Serialize}; use std::path::PathBuf; use structopt::StructOpt; -#[derive(StructOpt, Default, Debug, Clone)] +#[derive(StructOpt, Default, Debug, Clone, Serialize, Deserialize)] #[structopt(name = "zellij")] pub struct CliArgs { /// Maximum panes on screen, caution: opening more panes will close old ones @@ -32,7 +33,7 @@ pub struct CliArgs { pub debug: bool, } -#[derive(Debug, StructOpt, Clone)] +#[derive(Debug, StructOpt, Clone, Serialize, Deserialize)] pub enum ConfigCli { /// Change the behaviour of zellij #[structopt(name = "option")] |
