nut_debug_level starts out as 0, but the -D flags are not parsed until after nutscan_init() is called. Therefore, it is not possible to see the debug messages when searching for libraries.
Tested with https://github.com/networkupstools/nut/tree/libusb-1.0%2B0.1 @ 80bc452.
Noticed while debugging #499.
nut_debug_levelstarts out as 0, but the-Dflags are not parsed until afternutscan_init()is called. Therefore, it is not possible to see the debug messages when searching for libraries.Tested with https://github.com/networkupstools/nut/tree/libusb-1.0%2B0.1 @ 80bc452.
Noticed while debugging #499.