Diff between b548233f3323b1002418fa6f9c32254ed1e33abd and 419cd859d72cbf5885a6131cb595e8b998fad083

Changed Files

File Additions Deletions Status
src/shared/shell.c +2 -2 modified

Full Patch

diff --git a/src/shared/shell.c b/src/shared/shell.c
index b4fdf70..6cdea1c 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -288,9 +288,9 @@ static int cmd_exec(const struct bt_shell_menu_entry *entry,
 	opt = strdup(entry->arg + len + 1);
 
 optional:
-	if (parse_args(opt, &w, "<>", flags) < 0) {
+	if (parse_args(opt, &w, "[]", flags) < 0) {
 		print_text(COLOR_HIGHLIGHT,
-				"Unable to parse mandatory command arguments");
+				"Unable to parse optional command arguments");
 		return -EINVAL;
 	}