btmgmt: Fix irks command parsing
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 30 Mar 2020 17:23:16 +0000 (10:23 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
btshell does not allow use of nested parameter delimiters.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/btmgmt.c

index 59b692b..2dcb31c 100755 (executable)
@@ -4456,7 +4456,7 @@ static const struct bt_shell_menu main_menu = {
                cmd_keys,               "Load Link Keys"                },
        { "ltks",               NULL,
                cmd_ltks,               "Load Long Term Keys"           },
-       { "irks",               "[--local <index>] [--file <file path>]",
+       { "irks",               "[--local index] [--file file path]",
                cmd_irks,               "Load Identity Resolving Keys"  },
        { "block",              "[-t type] <remote address>",
                cmd_block,              "Block Device"                  },