'Validate the option the user has supplied'

def check_values(self, opts, args):

    if (not self.opts_has_action(opts)):
        self.print_help()
        raise SystemExit
    action = self.opts_get_action(opts)
    if (action in ACTIONS_REQUIRE_TITLE):
        if (opts.title is None):
            print ('Action    %s    requires    a    --title    parameter' % action)
            raise SystemExit
    return (opts, args)
