On 28 August 2015 at 14:55, Programmingkid <programmingk...@gmail.com> wrote: > On Aug 28, 2015, at 9:50 AM, Gerd Hoffmann wrote: >> Even better: Don't print "ID: ..." in the first place in case it is not >> present. > > The ID is printed so if the user needs to remove the device, device_del <id> > can be used. > > If the ID isn't printed here, where do you want it to be printed? "info > device-id"?
Gerd means, "print nothing at all, rather than ', ID null'". There's no point in printing something which isn't actually an ID you can use to delete the device. thanks -- PMM