Skip to content

Commit a8490a9

Browse files
committed
claw: rename /skill command to /skills
Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
1 parent 12ddc02 commit a8490a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

claw/shell/shell_commands.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static void cmd_memories(int argc, char **argv)
285285
#ifdef CONFIG_RTCLAW_SKILL_ENABLE
286286
#define SKILL_REPLY_SIZE 2048
287287

288-
static void cmd_skill(int argc, char **argv)
288+
static void cmd_skills(int argc, char **argv)
289289
{
290290
if (argc < 2) {
291291
char buf[512];
@@ -438,7 +438,7 @@ const shell_cmd_t shell_common_commands[] = {
438438
SHELL_CMD("/forget", cmd_forget, "Delete a long-term memory"),
439439
SHELL_CMD("/memories", cmd_memories, "List long-term memories"),
440440
#ifdef CONFIG_RTCLAW_SKILL_ENABLE
441-
SHELL_CMD("/skill", cmd_skill, "List or execute a skill"),
441+
SHELL_CMD("/skills", cmd_skills, "List or execute a skill"),
442442
#endif
443443
#ifdef CONFIG_RTCLAW_SCHED_ENABLE
444444
SHELL_CMD("/task", cmd_task, "Tasks [rm <name>]"),

0 commit comments

Comments
 (0)