diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-12-08 08:52:54 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2017-12-08 13:06:19 +0200 |
commit | 7c16c4044d1f8f7e667a5c4e4e8f72b6627bf115 (patch) | |
tree | 4eb26e004732d7cf10ec315641a1c6cf4dcff7e5 /tools/bluetooth-player.c | |
parent | ab41d6df80aa49e87c81b1a6383f9540fcc2d257 (diff) | |
download | bluez-7c16c4044d1f8f7e667a5c4e4e8f72b6627bf115.tar.gz |
shell: Add bt_shell_opt
Make use of struct option and getopt_long to parse the options given.
Diffstat (limited to 'tools/bluetooth-player.c')
-rw-r--r-- | tools/bluetooth-player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bluetooth-player.c b/tools/bluetooth-player.c index 92235ac8e..f819488f3 100644 --- a/tools/bluetooth-player.c +++ b/tools/bluetooth-player.c @@ -1132,7 +1132,7 @@ int main(int argc, char *argv[]) { GDBusClient *client; - bt_shell_init(&argc, &argv, NULL); + bt_shell_init(argc, argv, NULL); bt_shell_set_menu(&main_menu); bt_shell_set_prompt(PROMPT_OFF); bt_shell_attach(fileno(stdin)); |