aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-10 17:08:30 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-10 17:08:30 +0200
commit9c5f0a05c199952732d8e3325fc7d207095381c2 (patch)
tree78bc43cce27bb83da353cb91d3ba517992e0d57e /src/common
parentfixup! Add Option for Simplified Layout (diff)
downloadsl0ppij-9c5f0a05c199952732d8e3325fc7d207095381c2.tar.gz
sl0ppij-9c5f0a05c199952732d8e3325fc7d207095381c2.tar.xz
sl0ppij-9c5f0a05c199952732d8e3325fc7d207095381c2.zip
Poke
Diffstat (limited to 'src/common')
-rw-r--r--src/common/input/options.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/input/options.rs b/src/common/input/options.rs
index 4c2dd861..3ff2fd8e 100644
--- a/src/common/input/options.rs
+++ b/src/common/input/options.rs
@@ -1,10 +1,12 @@
use serde::{Deserialize, Serialize};
+use structopt::StructOpt;
-#[derive(Clone, Default, Debug, PartialEq, Deserialize, Serialize)]
+#[derive(Clone, Default, Debug, PartialEq, Deserialize, Serialize, StructOpt)]
/// Options that can be set either through the config file,
/// or cli flags
pub struct Options {
/// Allow plugins to use a more compatible font type
+ #[structopt(long)]
pub simplified_ui: bool,
}