diff --git a/bin/RR.exe b/bin/RR.exe index 378d494..8a54137 100644 Binary files a/bin/RR.exe and b/bin/RR.exe differ diff --git a/source/Program.cs b/source/Program.cs index 34ed6f1..14713e9 100644 --- a/source/Program.cs +++ b/source/Program.cs @@ -111,6 +111,9 @@ private static bool GetArguments( fileMatch = String.Empty; nameSearch = String.Empty; nameReplace = String.Empty; + + bool foundNameReplace = false; + pretend = false; recursive = false; @@ -153,13 +156,14 @@ private static bool GetArguments( else if (String.IsNullOrEmpty(nameReplace)) { nameReplace = args[i]; + foundNameReplace = true; } } } return !String.IsNullOrEmpty(fileMatch) && !String.IsNullOrEmpty(nameSearch) - && !String.IsNullOrEmpty(nameReplace); + && foundNameReplace; } /// diff --git a/source/Properties/AssemblyInfo.cs b/source/Properties/AssemblyInfo.cs index 460e9b0..8797201 100644 --- a/source/Properties/AssemblyInfo.cs +++ b/source/Properties/AssemblyInfo.cs @@ -35,7 +35,7 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.2.0.0")] -[assembly: AssemblyFileVersion("1.2.0.0")] +[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyFileVersion("1.2.1.0")] [assembly: CLSCompliant(true)] \ No newline at end of file