{
  "name": "whereis",
  "description": "Locate the binary, source, and manual page files for a command",
  "options": [
    {
      "names": [
        "-b"
      ],
      "description": "Search only for binaries"
    },
    {
      "names": [
        "-m"
      ],
      "description": "Search only for manual sections"
    },
    {
      "names": [
        "-s"
      ],
      "description": "Search only for sources"
    },
    {
      "names": [
        "-u"
      ],
      "description": "Search for unusual entries"
    },
    {
      "names": [
        "-B"
      ],
      "description": "Search for binaries only in the specified directory",
      "takes_arg": true,
      "arg": {
        "name": "directory",
        "description": "The directory to search in",
        "template": "folders"
      }
    },
    {
      "names": [
        "-M"
      ],
      "description": "Search for manual pages only in the specified directory",
      "takes_arg": true,
      "arg": {
        "name": "directory",
        "description": "The directory to search in",
        "template": "folders"
      }
    },
    {
      "names": [
        "-S"
      ],
      "description": "Search for sources only in the specified directory",
      "takes_arg": true,
      "arg": {
        "name": "directory",
        "description": "The directory to search in",
        "template": "folders"
      }
    },
    {
      "names": [
        "-f"
      ],
      "description": "Terminate the -B, -M, and -S options"
    }
  ],
  "args": [
    {
      "name": "Filename",
      "description": "The file to search for"
    }
  ]
}
