From edb419ab7ccfee786ab5f3ef22644febded807de Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Thu, 21 Dec 2023 16:18:23 -0500 Subject: [PATCH] sys/shell: update doc This patch updates shell.c's doc that undersells the shells complexity. The comment seems to have been written prior to the shell's ability to parse command args and handle quoting sequences. --- sys/shell/shell.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/shell/shell.c b/sys/shell/shell.c index 435c9a9973..945053a053 100644 --- a/sys/shell/shell.c +++ b/sys/shell/shell.c @@ -13,11 +13,12 @@ * @{ * * @file - * @brief Implementation of a very simple command interpreter. + * @brief Implementation of a simple command interpreter. * For each command (i.e. "echo"), a handler can be specified. * If the first word of a user-entered command line matches the - * name of a handler, the handler will be called with the whole - * command line as parameter. + * name of a handler, the handler will be called with the remaining + * arguments passed in a manner similar to `main()`'s argc/argv + * parameters. * * @author Kaspar Schleiser * @author René Kijewski