Intel® Inspector Help

option-file

Specify one or more files containing command line options.

Syntax

-option-file <PATH>

Arguments

A string containing the PATH/name for the one or more text files that contain additional command options. This may be absolute, or relative to the current working directory.

Actions Modified

This global option can be used with any action, including: collect, collect-with, finalize, merge, and report.

Description

Use the option-file global-option to specify one or more text files containing command line arguments, where each line include one or more arguments terminated by a newline character.

Tip

Put commonly used options in a text file to shorten the command line and to create a reusable invocation syntax.

CAUTION

Options specified on the command line can override options in the option file(s), because options in the file(s) are processed prior to options passed in through the command line.

Example

In this example, an option file named ti2Supp.txt specifies the suppression-file option and path to the suppression file.

-suppression-file "C:\myAppProj\My Inspector Results-[project name]\suppressions\mySup"

This command performs the collect action, passing in the option file ti2Supp.txt.

$inspxe-cl -collect ti2 -option-file ti2Supp.txt -- myApp

When this option file is processed:

See Also