steamosctl: Make doc comments consistently formatted

This commit is contained in:
Vicki Pfau 2024-08-27 20:14:53 -07:00
parent 4c81c92586
commit d3152cb38d

View file

@ -44,7 +44,7 @@ enum Commands {
/// Set the fan control state /// Set the fan control state
SetFanControlState { SetFanControlState {
/// Valid options are bios, os /// Valid options are `bios`, `os`
state: FanControlState, state: FanControlState,
}, },
@ -77,26 +77,26 @@ enum Commands {
/// Set the GPU performance level /// Set the GPU performance level
SetGPUPerformanceLevel { SetGPUPerformanceLevel {
/// Valid levels are auto, low, high, manual, profile_peak /// Valid levels are `auto`, `low`, `high`, `manual`, `profile_peak`
level: GPUPerformanceLevel, level: GPUPerformanceLevel,
}, },
/// Get the GPU performance level /// Get the GPU performance level
GetGPUPerformanceLevel, GetGPUPerformanceLevel,
/// Set the GPU clock value manually. Only works when performance level is set to Manual /// Set the GPU clock value manually. Only works when performance level is set to `manual`
SetManualGPUClock { SetManualGPUClock {
/// GPU clock frequency in MHz /// GPU clock frequency in MHz
freq: u32, freq: u32,
}, },
/// Get the GPU clock frequency, in MHz. Only works when performance level is set to Manual /// Get the GPU clock frequency, in MHz. Only works when performance level is set to `manual`
GetManualGPUClock, GetManualGPUClock,
/// Get the maximum allowed GPU clock frequency for the Manual performance level /// Get the maximum allowed GPU clock frequency for the `manual` performance level
GetManualGPUClockMax, GetManualGPUClockMax,
/// Get the minimum allowed GPU clock frequency for the Manual performance level /// Get the minimum allowed GPU clock frequency for the `manual` performance level
GetManualGPUClockMin, GetManualGPUClockMin,
/// Set the TDP limit /// Set the TDP limit
@ -114,33 +114,33 @@ enum Commands {
/// Get the minimum allowed TDP limit /// Get the minimum allowed TDP limit
GetTDPLimitMin, GetTDPLimitMin,
/// Set the wifi backend if possible /// Set the Wi-Fi backend, if possible
SetWifiBackend { SetWifiBackend {
/// Supported backends are iwd, wpa_supplicant /// Supported backends are `iwd`, `wpa_supplicant`
backend: WifiBackend, backend: WifiBackend,
}, },
/// Get the wifi backend /// Get the Wi-Fi backend
GetWifiBackend, GetWifiBackend,
/// Set wifi debug mode /// Set Wi-Fi debug mode, if possible
SetWifiDebugMode { SetWifiDebugMode {
/// Valid modes are on, off /// Valid modes are `on`, `off`
mode: WifiDebugMode, mode: WifiDebugMode,
/// The size of the debug buffer, in bytes /// The size of the debug buffer, in bytes
buffer: Option<u32>, buffer: Option<u32>,
}, },
/// Get wifi debug mode /// Get Wi-Fi debug mode
GetWifiDebugMode, GetWifiDebugMode,
/// Set the wifi power management state /// Set the Wi-Fi power management state
SetWifiPowerManagementState { SetWifiPowerManagementState {
/// Valid modes are enabled, disabled /// Valid modes are `enabled`, `disabled`
state: WifiPowerManagement, state: WifiPowerManagement,
}, },
/// Get the wifi power management state /// Get the Wi-Fi power management state
GetWifiPowerManagementState, GetWifiPowerManagementState,
/// Get the state of HDMI-CEC support /// Get the state of HDMI-CEC support
@ -148,7 +148,7 @@ enum Commands {
/// Set the state of HDMI-CEC support /// Set the state of HDMI-CEC support
SetHdmiCecState { SetHdmiCecState {
/// Valid modes are disabled, control-only, control-and-wake /// Valid modes are `disabled`, `control-only`, `control-and-wake`
state: HdmiCecState, state: HdmiCecState,
}, },