@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('--parsers', dest='parsers', type=str,
        action='store', default='', metavar='PARSER_FILTER_EXPRESSION',
        help=
        'Define which presets, parsers and/or plugins to use, or show possible values. The expression is a comma separated string where each element is a preset, parser or plugin name. Each element can be prepended with an exclamation mark to exclude the item. Matching is case insensitive. Examples: "linux,!bash_history" enables the linux preset, without the bash_history parser. "sqlite,!sqlite/chrome_history" enables all sqlite plugins except for chrome_history". "win7,syslog" enables the win7 preset, as well as the syslog parser. Use "--parsers list" or "--info" to list available presets, parsers and plugins.'
        )
