The -prtfmt option can be used in conjunction with any of the -genPrint options documented above to alter the format of the printed data. There are two possible print formats: details and bracetext.
The details format prints a line-by-line display of every item in the generated structure. For example, the following is an excerpt from a details display:
Employee.name.givenName = 'John' Employee.name.initial = 'P' Employee.name.familyName = 'Smith' Employee.number = 51 Employee.title = 'Director' ...
The alternative format - bracetext - provides a C-like structure printout. This is a more concise format that will omit optional fields that are not present in the decoded data. An example of this is as follows:
   Employee {
      name {
         givenName = 'John'
         initial = 'P'
         familyName = 'Smith'
      }
      number = 51
      title = 'Director'
   ...
      As of ASN1C version 6.0 and higher, bracetext is the default format used if -prtfmt is not specified on the commandline. Previous versions of ASN1C had details as the default setting.