@classmethod
def add_options(cls, parser):
    """Add --author-re, --copyright-re, and --license-re options."""
    parser.add_option('--author-re', help=
        'regular expression(s) for valid :author: lines', parse_from_config
        =True)
    parser.add_option('--copyright-re', help=
        'regular expression(s) for valid :copyright: lines',
        parse_from_config=True)
    parser.add_option('--license-re', help=
        'regular expression(s) for valid :license: lines',
        parse_from_config=True)
