{
    "content": [
        {
            "type": "text",
            "text": "# WHAT-PATCH (man)\n\n## NAME\n\nwhat-patch - detect which patch system a Debian package uses\n\n## SYNOPSIS\n\nwhat-patch [options]\n\n## DESCRIPTION\n\nwhat-patch  examines the debian/rules file to determine which patch system the Debian package\nis using.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (2 subsections)\n- **AUTHORS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "WHAT-PATCH",
        "section": "",
        "mode": "man",
        "summary": "what-patch - detect which patch system a Debian package uses",
        "synopsis": "what-patch [options]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display a help message and exit."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "the debian/ directory and report any additional details about the patch system if available."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "cdbs-edit-patch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/cdbs-edit-patch/1/json"
            },
            {
                "name": "dbs-edit-patch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/dbs-edit-patch/1/json"
            },
            {
                "name": "dpatch-edit-patch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/dpatch-edit-patch/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-v",
                        "lines": 4,
                        "flag": "-v"
                    }
                ]
            },
            {
                "name": "AUTHORS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "what-patch - detect which patch system a Debian package uses\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "what-patch [options]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "what-patch  examines the debian/rules file to determine which patch system the Debian package\nis using.\n\nwhat-patch should be run from the root directory of the Debian source package.\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "Listed below are the command line options for what-patch:\n",
                "subsections": [
                    {
                        "name": "-h --help",
                        "content": "Display a help message and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-v",
                        "content": "the  debian/  directory  and  report  any additional details about the patch system if\navailable.\n\n",
                        "flag": "-v"
                    }
                ]
            },
            "AUTHORS": {
                "content": "what-patch   was   written   by   Kees   Cook   <kees@ubuntu.com>,   Siegfried-A.    Gevatter\n<rainct@ubuntu.com>,  and  Daniel Hahler <ubuntu@thequod.de>, among others.  This manual page\nwas written by Jonathan Patrick Davies <jpds@ubuntu.com>.\n\nBoth are released under the GNU General Public License, version 3 or later.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "The Ubuntu MOTU team  has  some  documentation  about  patch  systems  at  the  Ubuntu  wiki:\nhttps://wiki.ubuntu.com/PackagingGuide/PatchSystems\n\n\ncdbs-edit-patch(1), dbs-edit-patch(1), dpatch-edit-patch(1)\n\nDEBIAN                                    Debian Utilities                             WHAT-PATCH(1)",
                "subsections": []
            }
        }
    }
}