From baef8af9814114bff881fe2d1f994d3fd86b20ca Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 18 May 2025 23:17:49 +0300 Subject: [PATCH] cli: remove governor_persist --- src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index bc4b0c1..b86b414 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ mod monitor; mod power_supply; mod util; -use anyhow::{Context, anyhow, bail}; +use anyhow::Context; use clap::Parser as _; use std::fmt::Write as _; use std::io::Write as _; @@ -43,10 +43,6 @@ enum Command { #[arg(long)] governor: Option, // TODO: Validate with clap for available governors. - /// Set the CPU governor persistently. - #[arg(long, conflicts_with = "governor")] - governor_persist: Option, // TODO: Validate with clap for available governors. - /// Set CPU Energy Performance Preference (EPP). Short form: --epp. #[arg(long, alias = "epp")] energy_performance_preference: Option, @@ -103,7 +99,6 @@ fn real_main() -> anyhow::Result<()> { Command::Set { for_, governor, - governor_persist, energy_performance_preference, energy_performance_bias, frequency_mhz_minimum,