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

2
Cargo.lock generated
View File

@@ -684,7 +684,7 @@ dependencies = [
[[package]]
name = "rog-daemon"
version = "0.9.6"
version = "0.9.8"
dependencies = [
"dbus",
"dbus-tokio",

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
rog-core (0.9.8) focal; urgency=medium
* Fix fan-mode cli help
-- Luke Jones <luke@ljones.dev> Sat, 23 May 2020 18:08:18 +1200
rog-core (0.9.7) focal; urgency=medium
* Start differentiating between models using the 0x1866 USB device

View File

@@ -1,6 +1,6 @@
[package]
name = "rog-daemon"
version = "0.9.6"
version = "0.9.8"
license = "MPL-2.0"
readme = "README.md"
authors = ["Luke <luke@ljones.dev>"]
@@ -44,4 +44,4 @@ intel-pstate = "^0.2.1"
uhid-virt = "^0.0.4"
#keycode = "0.3"
thiserror = "^1.0.15"
thiserror = "^1.0.15"

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>,