From 94633338826db69f9d7e6afb7159ee5b9112ed9d Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Sat, 6 Apr 2024 22:07:48 +0800 Subject: [PATCH] uefi: Update commandline help Signed-off-by: Daniel Schaefer --- framework_lib/src/commandline/clap_std.rs | 2 +- framework_lib/src/commandline/mod.rs | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/framework_lib/src/commandline/clap_std.rs b/framework_lib/src/commandline/clap_std.rs index 26e27de..3964285 100644 --- a/framework_lib/src/commandline/clap_std.rs +++ b/framework_lib/src/commandline/clap_std.rs @@ -101,7 +101,7 @@ struct ClapCli { #[arg(long)] inputmodules: bool, - /// Show status of the input modules (Framework 16 only) + /// Set input deck power mode [possible values: auto, off, on] (Framework 16 only) #[arg(long)] input_deck_mode: Option, diff --git a/framework_lib/src/commandline/mod.rs b/framework_lib/src/commandline/mod.rs index e238f84..f22820f 100644 --- a/framework_lib/src/commandline/mod.rs +++ b/framework_lib/src/commandline/mod.rs @@ -757,17 +757,21 @@ Options: --pd-bin Parse versions from PD firmware binary file --ec-bin Parse versions from EC firmware binary file --capsule Parse UEFI Capsule information from binary file + --dump Dump extracted UX capsule bitmap image to a file + --ho2-capsule Parse UEFI Capsule information from binary file + --dump-ec-flash Dump EC flash contents --flash-ec Flash EC with new firmware from file --flash-ro-ec Flash EC with new firmware from file --flash-rw-ec Flash EC with new firmware from file + --reboot-ec Control EC RO/RW jump [possible values: ro, rw, cancel-jump, disable-jump] --intrusion Show status of intrusion switch --inputmodules Show status of the input modules (Framework 16 only) + --input-deck-mode Set input deck power mode [possible values: auto, off, on] (Framework 16 only) --charge-limit [] Get or set battery charge limit (Percentage number as arg, e.g. '100') --fp-brightness []Get or set fingerprint LED brightness level [possible values: high, medium, low] --kblight [] Set keyboard backlight percentage or get, if no value provided --console Get EC console, choose whether recent or to follow the output [possible values: recent, follow] - --reboot-ec Control EC RO/RW jump [possible values: ro, rw, cancel-jump, disable-jump] - --dump-ec-flash Dump EC flash contents + --hash Hash a file of arbitrary data -t, --test Run self-test to check if interaction with EC is possible -h, --help Print help information "#