Message ID | 20200330173006.12785-1-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Luiz Von Dentz |
Headers | show |
Series | [BlueZ,1/2] btmgmt: Fix irks command parsing | expand |
Hi, On Mon, Mar 30, 2020 at 10:30 AM Luiz Augusto von Dentz <luiz.dentz@gmail.com> wrote: > > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > btshell does not allow use of nested parameter delimiters. > --- > tools/btmgmt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/btmgmt.c b/tools/btmgmt.c > index b1820b41c..37c1c1c9e 100644 > --- a/tools/btmgmt.c > +++ b/tools/btmgmt.c > @@ -4455,7 +4455,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" }, > -- > 2.21.1 > Pushed.
diff --git a/tools/btmgmt.c b/tools/btmgmt.c index b1820b41c..37c1c1c9e 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -4455,7 +4455,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" },
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> btshell does not allow use of nested parameter delimiters. --- tools/btmgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)