+ printf("HM-CFG-USB flasher version " VERSION "\n\n");
+
+ if (argc != 2) {
+ if (argc == 1)
+ fprintf(stderr, "Missing firmware filename!\n\n");
+
+ fprintf(stderr, "Syntax: %s hmusbif.enc\n\n", argv[0]);
+ exit(EXIT_FAILURE);
+ }
+
+ fw = firmware_read_firmware(argv[1], debug);
+ if (!fw)
+ exit(EXIT_FAILURE);
+
+ hmcfgusb_set_debug(debug);