docs: def prose_wc(args):
      """Processes data provided to print a count object, or update a file.
  
      Args:
          args: an ArgumentParser object returned by setup()
      """
      if args.file is None:
          return 1
      if args.split_hyphens:
          INTERSTITIAL_PUNCTUATION.append(re.compile(r'-'))
      content = args.file.read().decode('utf-8')
      filename = args.file.name
      body = strip_frontmatter(content)
      parsed = markdown_to_text(body)
      result = wc(filename, body, parsed=parsed,
                  is_jekyll=(body != content))
      if (args.update and
              filename != '_stdin_' and
              result['counts']['type'] == 'jekyll'):
          update_file(filename, result, content, args.indent)
      else:
          _mockable_print({
              'yaml': yaml.safe_dump(result, default_flow_style=False,
                                indent=args.indent),
              'json': json.dumps(result, indent=args.indent),
              'default': default_dump(result),
          }[args.format])
      return 0