Fix help for fan-mode cli

This commit is contained in:
Luke
2020-05-23 18:07:17 +12:00
parent 88d5343db8
commit da05b8d90c
4 changed files with 11 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ use rog_aura::{
AuraDbusWriter, LED_MSG_LEN,
};
static VERSION: &'static str = "0.9.7";
static VERSION: &'static str = "0.9.8";
#[derive(Debug, Options)]
struct CLIStart {
@@ -20,7 +20,7 @@ struct CLIStart {
daemon: bool,
#[options(meta = "VAL", help = "<off, low, med, high>")]
bright: Option<LedBrightness>,
#[options(meta = "FAN", help = "<off, low, med, high>")]
#[options(meta = "FAN", help = "<silent, normal, boost>")]
fan_mode: Option<FanLevel>,
#[options(command)]
command: Option<Command>,