<arg>

[This is preliminary documentation and subject to change.]

Represents a command-line argument.

Parameters

Attribute Type Description Required
file file The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. False
if bool Indicates if the argument should be passed to the external program. If true then the argument will be passed; otherwise, skipped. The default is true. False
unless bool Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false. False
value string A single command-line argument; can contain space characters. False
id string The ID used to be referenced later. False
refid string The ID to use as the reference. False

Requirements

Assembly: NAnt.Core (0.85.1698.0)