@staticmethod
def parse_option_recursive_exclude(parser):
    """Add '--recursive'  and '--exclude' arguments to given parser.
        """
    parser.add_argument('-r', '--recursive', action='store_true', dest=
        'recursive', default=False, help='look for yaml files recursively')
    parser.add_argument('-x', '--exclude', dest='exclude', action='append',
        default=[], help=
        'paths to exclude when using recursive search, uses standard globbing.'
        )
