def METHOD_NAME(parser):
    parser.add_argument('--all', dest='check_types',
                        action='append_const', const='all',
                        help=_('show all problems; default'))
    parser.add_argument('--dependencies', dest='check_types',
                        action='append_const', const='dependencies',
                        help=_('show dependency problems'))
    parser.add_argument('--duplicates', dest='check_types',
                        action='append_const', const='duplicates',
                        help=_('show duplicate problems'))
    parser.add_argument('--obsoleted', dest='check_types',
                        action='append_const', const='obsoleted',
                        help=_('show obsoleted packages'))
    parser.add_argument('--provides', dest='check_types',
                        action='append_const', const='provides',
                        help=_('show problems with provides'))
    # Add compatibility with yum but invisible in help
    # In choices [] allows to return empty list if no argument otherwise it fails
    parser.add_argument('check_yum_types', nargs='*', choices=[
        'all', 'dependencies', 'duplicates', 'obsoleted', 'provides', []],
                        help=argparse.SUPPRESS)