Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix the Pause option

  • Loading branch information...
commit c21bf8c7aa9385f2af4e4026e903a01a4e6dc4d6 1 parent eb32492
@maliger authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/NAnt.Core/CommandLineOptions.cs
View
8 src/NAnt.Core/CommandLineOptions.cs
@@ -84,12 +84,13 @@ public class CommandLineOptions {
/// Pauses before program ends.
/// </summary>
/// <value>
- /// Pauses before program ends.
+ /// <see langword="true" /> for pausing on program end;
+ /// otherwise, <see langword="false" />. The default is <see langword="false" />.
/// </value>
[CommandLineArgument(CommandLineArgumentTypes.AtMostOnce, Name = "pause", Description = "Pauses before program ends")]
public bool Pause {
- get { return _verbose; }
- set { _verbose = value; }
+ get { return _pause; }
+ set { _pause = value; }
}
/// <summary>
@@ -317,6 +318,7 @@ public class CommandLineOptions {
private StringCollection _extensionAssemblies = new StringCollection();
private StringCollection _targets = new StringCollection();
private bool _showProjectHelp;
+ private bool _pause;
#endregion Private Instance Fields
}
Please sign in to comment.
Something went wrong with that request. Please try again.