From 86226a61c027276fc975f6a6499680ad36452d87 Mon Sep 17 00:00:00 2001 From: Dennis Liu Date: Wed, 5 Mar 2025 23:04:07 +0800 Subject: [PATCH] Add missing parameter hint to 'select' command The 'select' command requires exactly one parameter, but the parameter hint was previously missing, potentially causing confusion. Referenced the existing parameter hint from the 'log' command to improve clarity and consistency in usage documentation. Change-Id: I16d81a3041ea495dcc0a4272ba1a1c4388f4d017 --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.c b/console.c index 3745c9666..d4121cde3 100644 --- a/console.c +++ b/console.c @@ -427,7 +427,7 @@ void init_cmd() "Display or set options. See 'Options' section for details", "[name val]"); ADD_COMMAND(quit, "Exit program", ""); - ADD_COMMAND(source, "Read commands from source file", ""); + ADD_COMMAND(source, "Read commands from source file", "file"); ADD_COMMAND(log, "Copy output to file", "file"); ADD_COMMAND(time, "Time command execution", "cmd arg ..."); ADD_COMMAND(web, "Read commands from builtin web server", "[port]");