@classmethod
def register_options(cls, register):
    super(Reporting, cls).register_options(register)
    register('--invalidation-report', type=bool, help='Write a formatted report on the invalid objects to the specified path.')
    register('--reports-dir', advanced=True, metavar='<dir>', default=os.path.join(register.bootstrap.pants_workdir, 'reports'), help='Write reports to this dir.')
    register('--template-dir', advanced=True, metavar='<dir>', default=None, help='Find templates for rendering in this dir.')
    register('--console-label-format', advanced=True, type=dict, default=PlainTextReporter.LABEL_FORMATTING, help='Controls the printing of workunit labels to the console.  Workunit types are {workunits}.  Possible formatting values are {formats}'.format(workunits=WorkUnitLabel.keys(), formats=LabelFormat.keys()))
    register('--console-tool-output-format', advanced=True, type=dict, default=PlainTextReporter.TOOL_OUTPUT_FORMATTING, help='Controls the printing of workunit tool output to the console. Workunit types are {workunits}.  Possible formatting values are {formats}'.format(workunits=WorkUnitLabel.keys(), formats=ToolOutputFormat.keys()))
@classmethod
def register_options(cls, register):
    super(Reporting, cls).register_options(register)
    register('--invalidation-report', type=bool, help='Write a formatted report on the invalid objects to the specified path.')
    register('--reports-dir', advanced=True, metavar='<dir>', default=os.path.join(register.bootstrap.pants_workdir, 'reports'), help='Write reports to this dir.')
    register('--template-dir', advanced=True, metavar='<dir>', default=None, help='Find templates for rendering in this dir.')
    register('--console-label-format', advanced=True, type=dict, default=PlainTextReporter.LABEL_FORMATTING, help='Controls the printing of workunit labels to the console.  Workunit types are {workunits}.  Possible formatting values are {formats}'.format(workunits=WorkUnitLabel.keys(), formats=LabelFormat.keys()))
    register('--console-tool-output-format', advanced=True, type=dict, default=PlainTextReporter.TOOL_OUTPUT_FORMATTING, help='Controls the printing of workunit tool output to the console. Workunit types are {workunits}.  Possible formatting values are {formats}'.format(workunits=WorkUnitLabel.keys(), formats=ToolOutputFormat.keys()))