Skip to content

Commit 2efb7ac

Browse files
committed
change property name to make it more obvious
1 parent a2a1343 commit 2efb7ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FluentCommandLineParser/FluentCommandLineParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public ICommandLineParserResult Parse(string[] args)
238238

239239
parsedOptions.ForEach(item => result.AdditionalOptionsFound.Add(new KeyValuePair<string, string>(item.Key, item.Value)));
240240

241-
result.FormattedError = ErrorFormatter.Format(result.Errors);
241+
result.ErrorText = ErrorFormatter.Format(result.Errors);
242242

243243
return result;
244244
}

FluentCommandLineParser/ICommandLineParserResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public interface ICommandLineParserResult
5050
/// <summary>
5151
/// Gets any formatted error for this result.
5252
/// </summary>
53-
string FormattedError { get; }
53+
string ErrorText { get; }
5454

5555
/// <summary>
5656
/// Gets the errors which occurred during the parse operation.

FluentCommandLineParser/Internals/CommandLineParserResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ IEnumerable<ICommandLineOption> ICommandLineParserResult.UnMatchedOptions
102102
/// <summary>
103103
/// Gets or sets the formatted error for this result.
104104
/// </summary>
105-
public string FormattedError { get; set; }
105+
public string ErrorText { get; set; }
106106
}
107107
}

0 commit comments

Comments
 (0)