All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 303925: shared/shell: Fix --init-script commandline option
@ 2023-11-13 18:38 BluezTestBot
  0 siblings, 0 replies; only message in thread
From: BluezTestBot @ 2023-11-13 18:38 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 303925b28110469ad002ac19ce0eb9c84d6aceb2
      https://github.com/bluez/bluez/commit/303925b28110469ad002ac19ce0eb9c84d6aceb2
  Author: Juerg Haefliger <juerg.haefliger@canonical.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M src/shared/shell.c

  Log Message:
  -----------
  shared/shell: Fix --init-script commandline option

The newly added option -i/--init-script introduced a short option
namespace collision with btmgmt's --index, both of which use '-i'.

As a result, a provided --index is treated as a file name:

$ sudo btmgmt --index 0 info
Unable to open 0: No such file or directory (2)

Fix this by using '-s' for --init-script.

Fixes: https://github.com/bluez/bluez/issues/639



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-13 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 18:38 [bluez/bluez] 303925: shared/shell: Fix --init-script commandline option BluezTestBot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.