From: Leo C Date: Wed, 27 Jun 2018 21:43:19 +0000 (+0200) Subject: cli.c bugfix: Comment only lines are not an error. X-Git-Tag: hexrel-6.8.3~3 X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/commitdiff_plain/447a805f04115a0e32a1b9ad6be7c0177c3f8977 cli.c bugfix: Comment only lines are not an error. --- diff --git a/avr/cli.c b/avr/cli.c index 922f9e1..9f48d3d 100644 --- a/avr/cli.c +++ b/avr/cli.c @@ -319,8 +319,8 @@ static int cli_run_command(const char *cmd, int flag) /* Extract arguments */ argc = cli_parse_line(finaltoken, argv); if (argc == 0) { - rc = -1; /* no command at all */ - continue; + //rc = -1; + continue; /* no command at all */ } if (opt_xtrace)