Closed rgetz closed 1 year ago
Well, I don't really consider that a bug, since you are passing bogus arguments...
anything on the command line is not "bogus" - it is user error. I agree with that -- but you need to protect users from themselves, and point them in the right direction.
Printing out random errors, is the bug.
WARNING: No backend found for scan string 'usb:'
usb:
isn't the scan string (it's the uri) so something is going wrong with the way things are parsed. That's the bug.
-Robin
It's just iio_common.c having a single arg
variable that's set by both -S and -u handlers, those should be made mutually exclusive.
Should be fixed by #1039.
Closing as the issue is assumed to have been addressed.
in libiio 1.0 (master) - I don't know if this is on purpose or not, but this is different than it use to be...
In the past - if
-S
was given, it would do the scan, and ignore the-u
Not sure this is bad - but it is different.
As a min, It should either error with a meaning error message, or do the scan, and ignore ... (since there actually is a context at
usb:
):