code: def AddArguments(cls, argument_group):
      
      argument_group.add_argument(
          '--slice', metavar='DATE', dest='slice', type=str, default='',
          action='store', help=(
              'Create a time slice around a certain date. This parameter, if '
              'defined will display all events that happened X minutes before '
              'and after the defined date. X is controlled by the parameter '
              '--slice_size but defaults to 5 minutes.'))
  
      argument_group.add_argument(
          '--slice_size', '--slice-size', dest='slice_size', type=int, default=5,
          action='store', help=(
              'Defines the slice size. In the case of a regular time slice it '
              'defines the number of minutes the slice size should be. In the '
              'case of the --slicer it determines the number of events before '
              'and after a filter match has been made that will be included in '
              'the result set. The default value is 5. See --slice or --slicer '
              'for more details about this option.'))
  
      argument_group.add_argument(
          '--slicer', dest='slicer', action='store_true', default=False, help=(
              'Create a time slice around every filter match. This parameter, '
              'if defined will save all X events before and after a filter '
              'match has been made. X is defined by the --slice_size '
              'parameter.'))
  
      argument_group.add_argument(
          'filter', nargs='?', action='store', metavar='FILTER', default=None,
          type=str, help=(
              'A filter that can be used to filter the dataset before it '
              'is written into storage. More information about the filters '
              'and how to use them can be found here: {0:s}').format(
                  cls._DOCUMENTATION_URL))
docs: 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.