Skip to content

Commit

Permalink
Reversing ReadKey logic
Browse files Browse the repository at this point in the history
  • Loading branch information
synhershko committed Oct 13, 2011
1 parent fd4d705 commit 8154f3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Raven.Backup/Program.cs
Expand Up @@ -7,15 +7,15 @@ class Program
{
static void Main(string[] args)
{
var doReadKeyOnExit = true;
var doReadKeyOnExit = false;
var op = new BackupOperation { NoWait = false };

var optionSet = new OptionSet
{
{"url=", "RavenDB server {0:url}", url => op.ServerUrl = url},
{"dest=", "Full {0:path} to backup folder", path => op.BackupPath = path},
{"nowait", "Return immedialtey without waiting for a response from the server", x => op.NoWait = true},
{"noreadkey", x => doReadKeyOnExit = false},
{"nowait", "Return immedialtey without waiting for a response from the server", _ => op.NoWait = true},
{"readkey", _ => doReadKeyOnExit = true},
};

try
Expand Down

0 comments on commit 8154f3a

Please sign in to comment.