From 75f69b82052945992096e9603ffc9dbdb9a83375 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Mon, 15 Sep 2025 09:19:45 +0800 Subject: [PATCH] rgbkbd: Name arguments Now when running `framework_tool --rgbkbd` instead of ``` error: 2 values required by '--rgbkbd ...'; only 1 was provided ``` it says: ``` error: 2 values required by '--rgbkbd ...'; only 1 was provided ``` Signed-off-by: Daniel Schaefer --- framework_lib/src/commandline/clap_std.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework_lib/src/commandline/clap_std.rs b/framework_lib/src/commandline/clap_std.rs index a26aa4ba..cefd2319 100644 --- a/framework_lib/src/commandline/clap_std.rs +++ b/framework_lib/src/commandline/clap_std.rs @@ -202,7 +202,7 @@ struct ClapCli { /// [ ...] /// Example: 0 0xFF000 0x00FF00 0x0000FF #[clap(num_args = 2..)] - #[arg(long, value_parser=maybe_hex::)] + #[arg(long, value_parser=maybe_hex::, value_names(["START", "HEXCOLOR"]))] rgbkbd: Vec, /// Control PS2 touchpad emulation (DEBUG COMMAND, if touchpad not working, reboot system)