mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
cli: remove governor_persist
This commit is contained in:
parent
d0932ae78c
commit
baef8af981
1 changed files with 1 additions and 6 deletions
|
@ -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<String>, // TODO: Validate with clap for available governors.
|
||||
|
||||
/// Set the CPU governor persistently.
|
||||
#[arg(long, conflicts_with = "governor")]
|
||||
governor_persist: Option<String>, // TODO: Validate with clap for available governors.
|
||||
|
||||
/// Set CPU Energy Performance Preference (EPP). Short form: --epp.
|
||||
#[arg(long, alias = "epp")]
|
||||
energy_performance_preference: Option<String>,
|
||||
|
@ -103,7 +99,6 @@ fn real_main() -> anyhow::Result<()> {
|
|||
Command::Set {
|
||||
for_,
|
||||
governor,
|
||||
governor_persist,
|
||||
energy_performance_preference,
|
||||
energy_performance_bias,
|
||||
frequency_mhz_minimum,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue