def set_positional_arguments(positional_parameters, positional_arguments, command_line_options):
  """ Validate and set positional command line arguments.  """
  if len(positional_parameters) < len(positional_arguments):
    return (True, 'Too many parameters')

  if len(positional_parameters) > len(positional_arguments):
    return (True, 'Not enough required parameters')

  for i, parm  in enumerate(positional_parameters):
    command_line_options[parm] = positional_arguments[i]

  return None