Intel® Advisor User Guide

ID 766448
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

option-file

Specify a text file containing command line arguments.

Syntax

--option-file=<PATH>

Arguments

<PATH> is the PATH/name of a text file containing command line arguments.

Actions Modified

collect, report

Usage

Put commonly used options in a UTF-8 text file to shorten the command line and create a reusable invocation syntax. Enter one option on each line. No spaces are allowed in the option entry; use a new line instead.

Arguments specified in an option file are processed before any arguments specified on the command line; therefore, options specified on the command line can override options in an option file.

Example

Create a reusable option file you can use whenever you want to generate a report that specifies the project directory, directory to search for source files, and PATH/name of the output text file.

--project-dir=./advi_results
--search-dir 
src:=./src
--format=text
--report-output=./out/annotations.txt

Generate a Suitability report. Use an option file named my_suitability_analysis.txt.

advisor --report=suitability --option-file=../my_suitability_analysis.txt

See Also