@classmethod
def AddArguments(cls, argument_group):
    """Adds command line arguments to an argument group.

    This function takes an argument parser or an argument group object and adds
    to it all the command line arguments this helper supports.

    Args:
      argument_group (argparse._ArgumentGroup|argparse.ArgumentParser):
          argparse group.
    """
    argument_group.add_argument('--language', metavar='LANGUAGE', dest=
        'preferred_language', default='en-US', type=str, help=
        'The preferred language identifier for Windows Event Log message strings. Use "--language list" to see a list of available language identifiers. Note that formatting will fall back on en-US (LCID 0x0409) if the preferred language is not available in the database of message string templates.'
        )
