NAnt SDK Documentation - v0.92

CommandLineOptions.ShowHelp Property

Gets or sets a value indicating whether the NAnt help should be printed.

[Visual Basic]
<CommandLineArgument(Name:="help", ShortName:="h", Description:="Prints this message", Type:=CommandLineArgumentTypes.Exclusive)>
Public Property ShowHelp As Boolean
[C#]
[CommandLineArgument(Name="help", ShortName="h", Description="Prints this message", Type=CommandLineArgumentTypes.Exclusive)]
public bool ShowHelp {get; set;}

Property Value

true if NAnt help should be printed; otherwise, false. The default is false.

See Also

CommandLineOptions Class | NAnt.Core Namespace