diff mbox series

[v1] bluetoothctl: fix for gatt unregister-includes option not working

Message ID SA2PR02MB78204D928243E903066D5678921F2@SA2PR02MB7820.namprd02.prod.outlook.com
State New
Headers show
Series [v1] bluetoothctl: fix for gatt unregister-includes option not working | expand

Commit Message

Naga Bhavani Akella May 3, 2024, 12:03 p.m. UTC
unregister includes option takes two parameters service uuid and
included service uuid, since the space between them is missing,
the menu option is not working.
When two uuids separated with space is given, it is throwing error.

Signed-off-by: Naga Bhavani Akella mailto:quic_nakella@quicinc.com
---
 client/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.17.1
diff mbox series

Patch

diff --git a/client/main.c b/client/main.c
index 51d08a67a..c8b0f7f1c 100644
--- a/client/main.c
+++ b/client/main.c
@@ -3060,7 +3060,7 @@  static const struct bt_shell_menu gatt_menu = {
                                        "Unregister application service" },
        { "register-includes", "<UUID> [handle]", cmd_register_includes,
                                        "Register as Included service in." },
-       { "unregister-includes", "<Service-UUID><Inc-UUID>",
+       { "unregister-includes", "<Service-UUID> <Inc-UUID>",
                        cmd_unregister_includes,
                                 "Unregister Included service." },
        { "register-characteristic",