summaryrefslogtreecommitdiff
path: root/avr/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/cli.c')
-rw-r--r--avr/cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avr/cli.c b/avr/cli.c
index 8763ed1..aa2c388 100644
--- a/avr/cli.c
+++ b/avr/cli.c
@@ -8,9 +8,10 @@
* (C) Copyright 2005
* JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier: GPL-2.0
*/
+#include "cli.h"
#include "common.h"
#include <string.h>
@@ -25,7 +26,6 @@
#include "env.h"
#include "cli_readline.h"
#include "con-utils.h"
-#include "cli.h"
/* FIXME: Quoting problems */
@@ -364,7 +364,7 @@ void cli_loop(void)
int rc = 1;
for (;;) {
- len = cli_readline(PSTR(CONFIG_SYS_PROMPT));
+ len = cli_readline(PSTR(CONFIG_SYS_PROMPT), 1);
flag = 0; /* assume no special flags for now */
if (len > 0) {