Skip to content
Browse files

fix the Pause option

  • Loading branch information...
1 parent eb32492 commit c21bf8c7aa9385f2af4e4026e903a01a4e6dc4d6 @maliger committed Dec 6, 2011
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
}

0 comments on commit c21bf8c

Please sign in to comment.
Something went wrong with that request. Please try again.