> hidrd-convert cannot output to 'spec' nor 'code' formats (does not recognize
> them). Additionally, it fails with assert failure when displaying help output:
[...]

Turns out, that -o code works. Only -o spec is broken.

$ hidrd-convert -o spec a.bin
hidrd-convert:
/home/kdienes/project/hidrd/u-kdienes-hidrd/include/hidrd/fmt/inst.h:92: 
hidrd_fmt_writable: Assertion `hidrd_fmt_valid(fmt)' failed.
Aborted

$ hidrd-convert -o bad a.bin
Unknown output format "bad".

Formats supported by hidrd-convert:

natv [IO] - native format

xml  [IO] - XML format

  Input options:
  schema [STRING] - path to a schema file for input validation
  Defaults:
  schema=/usr/share/xml/schema/hidrd.xsd

  Output options:
  format [BOOLEAN] - format XML output
  schema [STRING] - path to a schema file for output validation
  Defaults:
  format=true,schema=/usr/share/xml/schema/hidrd.xsd

hidrd-convert:
/home/kdienes/project/hidrd/u-kdienes-hidrd/include/hidrd/fmt/inst.h:92:
hidrd_fmt_writable: Assertion `hidrd_fmt_valid(fmt)' failed.
Aborted

Reply via email to