common: Log the libusb release when running with debugging output.
This commit is contained in:
parent
59917b8d35
commit
5a4ff83750
|
@ -615,6 +615,13 @@ int main (int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
if (dyesub_debug) {
|
||||
const struct libusb_version *ver;
|
||||
ver = libusb_get_version();
|
||||
DEBUG(" ** running with libusb %d.%d.%d%s (%d)\n",
|
||||
ver->major, ver->minor, ver->micro, (ver->rc? ver->rc : ""), ver->nano );
|
||||
|
||||
}
|
||||
/* Make sure a filename was specified */
|
||||
if (!unk && (optind == argc || !argv[optind])) {
|
||||
print_help(argv[0], backend);
|
||||
|
|
Loading…
Reference in a new issue