{
  "name": "iconv",
  "description": "Character set conversion",
  "options": [
    {
      "names": [
        "--help"
      ],
      "description": "Show help for iconv"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Output version information and exit"
    },
    {
      "names": [
        "-f",
        "--from-code"
      ],
      "description": "Specifies the encoding of the input",
      "takes_arg": true,
      "arg": {
        "name": "encoding"
      }
    },
    {
      "names": [
        "-t",
        "--to-code"
      ],
      "description": "Specifies the encoding of the output",
      "takes_arg": true,
      "arg": {
        "name": "encoding"
      }
    },
    {
      "names": [
        "-c"
      ],
      "description": "Discard unconvertible characters"
    },
    {
      "names": [
        "-l",
        "--list"
      ],
      "description": "List the supported encodings"
    },
    {
      "names": [
        "--unicode-subst"
      ],
      "description": "Substitution for unconvertible Unicode characters",
      "takes_arg": true,
      "arg": {
        "name": "FORMATSTRING",
        "description": "The formatstring must be a format string in the same format as for the printf command"
      }
    },
    {
      "names": [
        "--byte-subst"
      ],
      "description": "Substitution for unconvertible bytes",
      "takes_arg": true,
      "arg": {
        "name": "FORMATSTRING",
        "description": "The formatstring must be a format string in the same format as for the printf command"
      }
    },
    {
      "names": [
        "--widechar-subst"
      ],
      "description": "Substitution for unconvertible wide characters",
      "takes_arg": true,
      "arg": {
        "name": "FORMATSTRING",
        "description": "The formatstring must be a format string in the same format as for the printf command"
      }
    }
  ],
  "args": [
    {
      "name": "inputfile",
      "is_variadic": true,
      "template": "filepaths"
    }
  ]
}
