def add_parser_options()

in releasedocmaker/src/main/python/releasedocmaker/jira.py [0:0]


    def add_parser_options(parser):
        """Add Linter options to passed optparse parser."""
        filter_string = ", ".join("'" + f + "'" for f in Linter._valid_filters)
        parser.add_argument(
            "-n",
            "--lint",
            dest="lint",
            action="append",
            type=str,
            help="Specify lint filters. Valid filters are " + filter_string +
            ". " + "'all' enables all lint filters. " +
            "Multiple filters can be specified comma-delimited and " +
            "filters can be negated, e.g. 'all,-component'.")