summaryrefslogtreecommitdiff
path: root/include/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cli.h')
-rw-r--r--include/cli.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cli.h b/include/cli.h
index c777c90313f..094a6602d70 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -98,8 +98,8 @@ int cli_readline(const char *const prompt);
*
* @prompt: Prompt to display
* @buffer: Place to put the line that is entered
- * @timeout: Timeout in milliseconds, 0 if none
- * Return: command line length excluding terminator, or -ve on error: of the
+ * @timeout: Timeout in seconds, 0 if none
+ * Return: command line length excluding terminator, or -ve on error: if the
* timeout is exceeded (either CONFIG_BOOT_RETRY_TIME or the timeout
* parameter), then -2 is returned. If a break is detected (Ctrl-C) then
* -1 is returned.