Index: DamEngine/trunk/src/Deltares.DamEngine.ConsoleRun/CommandOptions.cs =================================================================== diff -u -r3893 -r4000 --- DamEngine/trunk/src/Deltares.DamEngine.ConsoleRun/CommandOptions.cs (.../CommandOptions.cs) (revision 3893) +++ DamEngine/trunk/src/Deltares.DamEngine.ConsoleRun/CommandOptions.cs (.../CommandOptions.cs) (revision 4000) @@ -47,7 +47,7 @@ AddDashesToOption = true }; - this.HandleParsingErrorsInHelp(help); + HandleParsingErrorsInHelp(help); help.AddPreOptionsLine("Usage: DamConsoleRunner[.exe] -i InputFile [ -o OutputFile]"); help.AddOptions(this); @@ -57,16 +57,15 @@ void HandleParsingErrorsInHelp(HelpText help) { - if (this.LastPostParsingState.Errors.Count > 0) + if (LastPostParsingState.Errors.Count > 0) { - var errors = help.RenderParsingErrorsText(this, 2); // indent with two spaces + string errors = help.RenderParsingErrorsText(this, 2); // indent with two spaces if (!string.IsNullOrEmpty(errors)) { help.AddPreOptionsLine(string.Concat(Environment.NewLine, "ERROR(S):")); help.AddPreOptionsLine(errors); } } } - } -} +} \ No newline at end of file