mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix cli for bios/g-sync
This commit is contained in:
@@ -536,8 +536,8 @@ fn handle_bios_option(
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
for line in usage.iter().filter(|line| {
|
for line in usage.iter().filter(|line| {
|
||||||
!line.contains("sound") && !supported.post_sound_toggle
|
line.contains("sound") && supported.post_sound_toggle
|
||||||
|| !line.contains("GPU") && !supported.dedicated_gfx_toggle
|
|| line.contains("GPU") && supported.dedicated_gfx_toggle
|
||||||
}) {
|
}) {
|
||||||
println!("{}", line);
|
println!("{}", line);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user