format

Specify the output format for a report.

Syntax

-format <string>

Arguments

text

Output in plain text format.

csv

Output in tabular format, using a comma delimiter.

xml

Output in XML format.

Default

Plain text.

Actions Modified

report

Description

Use the format action-option to set the format of a report and write to a file.

By default, a report is written to standard output in text format, but the inspxe-cl tool provides a number of options you can use when generating a report.

  • To save a report to a file, use the report-output option.

  • Use the format option to choose a report format: Text, CSV, or XML. If you choose the CSV format and want to use a delimiter other than the default comma, use the csv-delimiter option to specify the delimiter.

  • To sort and filter report content, use the sort-asc, sort-desc and filter options.

Example

Generates a Problems report in XML format for the most recently created result and saves it in the result directory as myProblemReport.xml.

$ inspxe-cl -report problems -report-output myProblemReport -format xml

This command generates a Problems report in XML format for the most recently created result and saves it in the result directory as myProblemReport.xml.

$ inspxe-cl -report problems -report-output myProblemReport -format xml
For more complete information about compiler optimizations, see our Optimization Notice.