{
    "content": [
        {
            "type": "text",
            "text": "# tagpending (man)\n\n## NAME\n\ntagpending - tags bugs that are to be closed in the latest changelog as pending\n\n## SYNOPSIS\n\ntagpending [options]\n\n## DESCRIPTION\n\ntagpending parses debian/changelog to determine which bugs would be closed if the package\nwere uploaded. Each bug is then marked as pending, using bts(1) if it is not already so.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (10 subsections)\n- **SEE ALSO**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "tagpending",
        "section": "",
        "mode": "man",
        "summary": "tagpending - tags bugs that are to be closed in the latest changelog as pending",
        "synopsis": "tagpending [options]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-n",
                "long": "--noact",
                "arg": null,
                "description": "Check whether any bugs require tagging, but do not actually do so."
            },
            {
                "flag": "-s",
                "long": "--silent",
                "arg": null,
                "description": "Do not output any messages."
            },
            {
                "flag": "-v",
                "long": "--verbose",
                "arg": null,
                "description": "List each bug checked and tagged in turn."
            },
            {
                "flag": "-f",
                "long": "--force",
                "arg": null,
                "description": "Do not query the BTS, but (re)tag all bugs closed in the changelog."
            },
            {
                "flag": "",
                "long": "--comments",
                "arg": null,
                "description": "Include the changelog header line and the entries relating to the tagged bugs as comments in the generated mail. This is the default. Note that when used in combination with --to, the header line output will always be that of the most recent version."
            },
            {
                "flag": "",
                "long": "--no-comments",
                "arg": null,
                "description": "Do not include changelog entries in the generated mail."
            },
            {
                "flag": "-c",
                "long": "--confirm",
                "arg": null,
                "description": "Tag bugs as both confirmed and pending."
            },
            {
                "flag": "-t",
                "long": "--to",
                "arg": null,
                "description": "Parse changelogs for all versions strictly greater than version. Equivalent to dpkg-parsechangelog's -v option."
            },
            {
                "flag": "-i",
                "long": "--interactive",
                "arg": null,
                "description": "Display the message which would be sent to the BTS and, except when --noact was used, prompt for confirmation before sending it."
            },
            {
                "flag": "-w",
                "long": "--wnpp",
                "arg": null,
                "description": "For each bug that does not appear to belong to the current package, check whether it is filed against wnpp. If so, tag it. This allows e.g. ITAs and ITPs closed in an upload to be tagged."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "bts",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/bts/1/json"
            },
            {
                "name": "dpkg-parsechangelog",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/dpkg-parsechangelog/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-n --noact",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--noact"
                    },
                    {
                        "name": "-s --silent",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--silent"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "-f --force",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "--comments",
                        "lines": 6,
                        "long": "--comments"
                    },
                    {
                        "name": "--no-comments",
                        "lines": 2,
                        "long": "--no-comments"
                    },
                    {
                        "name": "-c --confirm",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--confirm"
                    },
                    {
                        "name": "-t --to",
                        "lines": 4,
                        "flag": "-t",
                        "long": "--to"
                    },
                    {
                        "name": "-i --interactive",
                        "lines": 3,
                        "flag": "-i",
                        "long": "--interactive"
                    },
                    {
                        "name": "-w --wnpp",
                        "lines": 4,
                        "flag": "-w",
                        "long": "--wnpp"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 11,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "tagpending - tags bugs that are to be closed in the latest changelog as pending\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "tagpending [options]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "tagpending parses debian/changelog to determine which bugs would be closed if the package\nwere uploaded. Each bug is then marked as pending, using bts(1) if it is not already so.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-n --noact",
                        "content": "Check whether any bugs require tagging, but do not actually do so.\n",
                        "flag": "-n",
                        "long": "--noact"
                    },
                    {
                        "name": "-s --silent",
                        "content": "Do not output any messages.\n",
                        "flag": "-s",
                        "long": "--silent"
                    },
                    {
                        "name": "-v --verbose",
                        "content": "List each bug checked and tagged in turn.\n",
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "-f --force",
                        "content": "Do not query the BTS, but (re)tag all bugs closed in the changelog.\n",
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "--comments",
                        "content": "Include the changelog header line and the entries relating to the tagged bugs as comments\nin the generated mail.  This is the default.\n\nNote that when used in combination with --to, the header line output will always be that\nof the most recent version.\n",
                        "long": "--comments"
                    },
                    {
                        "name": "--no-comments",
                        "content": "Do not include changelog entries in the generated mail.\n",
                        "long": "--no-comments"
                    },
                    {
                        "name": "-c --confirm",
                        "content": "Tag bugs as both confirmed and pending.\n",
                        "flag": "-c",
                        "long": "--confirm"
                    },
                    {
                        "name": "-t --to",
                        "content": "Parse changelogs for all versions strictly greater than version.\n\nEquivalent to dpkg-parsechangelog's -v option.\n",
                        "flag": "-t",
                        "long": "--to"
                    },
                    {
                        "name": "-i --interactive",
                        "content": "Display the message which would be sent to the BTS and, except when --noact was used,\nprompt for confirmation before sending it.\n",
                        "flag": "-i",
                        "long": "--interactive"
                    },
                    {
                        "name": "-w --wnpp",
                        "content": "For each bug that does not appear to belong to the current package, check whether it is\nfiled against wnpp. If so, tag it. This allows e.g.  ITAs and ITPs closed in an upload to\nbe tagged.\n",
                        "flag": "-w",
                        "long": "--wnpp"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "bts(1) and dpkg-parsechangelog(1)\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "This program is Copyright 2008 by Adam D. Barratt <adam@adam-barratt.org.uk>.\n\nThe shell script tagpending, on which this program is based, is Copyright 2004 by Joshua Kwan\n<joshk@triplehelix.org> with changes copyright 2004-7 by their respective authors.\n\nThis program is licensed under the terms of the GPL, either version 2 of the License, or (at\nyour option) any later version.\n\n\n\nDebian Utilities                             2026-03-04                                TAGPENDING(1)",
                "subsections": []
            }
        }
    }
}