[PATCH BlueZ v2 5/5] client/player: Fix transport.send/receice tab completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

Commands transport.send/receive were not settings any completion
callback so this makes sure it uses transport_generator to generate the
list of transport that could be used to send.
---
 client/player.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/client/player.c b/client/player.c
index 6e33274d320d..eba233329276 100644
--- a/client/player.c
+++ b/client/player.c
@@ -3654,9 +3654,11 @@ static const struct bt_shell_menu transport_menu = {
 						"Release Transport",
 						transport_generator },
 	{ "send",        "<transport> <filename>", cmd_send_transport,
-						"Send contents of a file" },
+						"Send contents of a file",
+						transport_generator },
 	{ "receive",     "<transport> [filename]", cmd_receive_transport,
-						"Get/Set file to receive" },
+						"Get/Set file to receive",
+						transport_generator },
 	{ "volume",      "<transport> [value]",	cmd_volume_transport,
 						"Get/Set transport volume",
 						transport_generator },
-- 
2.37.3




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux