docs: def printtable(h, header):
      """Print as a table."""
      hk = header_fields(h)
      if (header):
          printheader()
      writer = csv.DictWriter(sys.stdout, hk, extrasaction='ignore')
      writer.writerow(h)