Hi Inga, On 01/14, Stotland, Inga wrote: > I wonder if it would be better to re-use "-i" option by changing it's > meaning form "index" to "i/o". > > So that " -i hci<#>" will map to generic i/o on a specified controller > and no "-i" option means any controller. > > Yes, we will loose some uniformity across all of the bluez in a sense > that "-i <#>" won't work, but imo it's preferable to having two options > with inter-dependecies. Hm, might be... The reason I added the "--io=<type>:<options>" was the "<options>" part. For example, we have a non-HCI radio adapter that uses "--io=uart:/dev/tty<n>" syntax, or remote radio using "--io=tcp:<host>:<port>" syntax. So maybe I could parse "-i <n>" and "-i hci<n>" (where <n> is a number) as a shortcut for "-i generic:hci<n>"? That would allow us to merge both options and rename "--index" to "--io". -- Michał Lowas-Rzechonek <michal.lowas-rzechonek@xxxxxxxxxxx> Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND