main: Add minor forgotten edits in struct fields

This commit is contained in:
George Kaklamanos 2023-11-30 17:11:27 +02:00
parent e6f62255cb
commit 9811fe5676
Signed by: gkaklas
GPG key ID: C0CAB8A6BDC9399D

View file

@ -35,6 +35,8 @@ pub struct Telegram {
#[cfg(feature = "matrix")]
#[derive(Serialize, Deserialize, Parser, Debug)]
pub struct Matrix {
#[clap(skip)]
pub trigger: Option<Vec<String>>,
#[clap(short, long)]
pub username: Option<String>,
#[clap(short, long)]
@ -51,10 +53,10 @@ pub struct GPIO {
#[clap(short, long)]
pub pin: Option<u8>,
#[clap(short, long)]
#[arg(default_value = "Some(false)")]
#[arg(default_value = "false")]
pub active_low: Option<bool>,
#[clap(short = 't', long)]
#[arg(default_value = "Some(2000)")]
#[arg(default_value = "2000")]
pub active_time: Option<u32>,
}