{
  "name": "uniq",
  "description": "Report or omit repeated line",
  "options": [
    {
      "names": [
        "-c",
        "--count"
      ],
      "description": "Prefix lines by the number of occurrences"
    },
    {
      "names": [
        "-d",
        "--repeated"
      ],
      "description": "Only print duplicate lines"
    },
    {
      "names": [
        "-D",
        "--all-repeated"
      ],
      "description": "Print all duplicate lines. Delimiting is done with blank lines",
      "takes_arg": true,
      "arg": {
        "name": "delimit-method",
        "suggestions": [
          "none",
          "prepend",
          "separate"
        ]
      }
    },
    {
      "names": [
        "-f",
        "--skip-fields"
      ],
      "description": "Avoid comparing the first N fields",
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "-i",
        "--ignore-case"
      ],
      "description": "Ignore differences in case when comparing"
    },
    {
      "names": [
        "-s",
        "--skip-chars"
      ],
      "description": "Avoid comparing the first N characters",
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "-u",
        "--unique"
      ],
      "description": "Only print unique lines"
    },
    {
      "names": [
        "-z",
        "--zero-terminated"
      ],
      "description": "End lines with 0 byte, not newline"
    },
    {
      "names": [
        "-w",
        "--check-chars"
      ],
      "description": "Compare no more than N characters in lines",
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "--help"
      ],
      "description": "Display this help and exit"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Output version information and exit"
    }
  ],
  "args": [
    {
      "name": "input",
      "template": "filepaths"
    },
    {
      "name": "output"
    }
  ]
}
