[bluez/bluez] 303925: shared/shell: Fix --init-script commandline option

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 303925b28110469ad002ac19ce0eb9c84d6aceb2
      https://github.com/bluez/bluez/commit/303925b28110469ad002ac19ce0eb9c84d6aceb2
  Author: Juerg Haefliger <juerg.haefliger@xxxxxxxxxxxxx>
  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






[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