import optparse


def RenameRequiredOpts(parser):
    """Define the group of required options for the scritpt 'rename.py'."""

    group = optparse.OptionGroup(
        parser, 'Required arguments',
        'This script requires the five following arguments in order '
        'to run. They can be defined either on the command line using options '
        'or with a configuration file or a mixture of the two methods.  '
        'Command line options over ride arguments defined in configuration files.\n\n'
        'NOTE: The strings used for the values of the arguments can NOT have either the '
        'char \'.\' or \'_\' in them.  This is a GTR requirement.  '
        'The script will fail if these characters are used.')
    return group