We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0150894 commit ecae238Copy full SHA for ecae238
1 file changed
README.md
@@ -408,7 +408,7 @@ let main argv =
408
o.Description <- "User name"
409
o.SetDefaultValue "-- NotSet --"
410
o.AddValidator(fun result ->
411
- let nameValue = result.GetValueForOption(opt)
+ let nameValue = result.GetValueForOption(o)
412
if System.String.IsNullOrWhiteSpace(nameValue)
413
then result.ErrorMessage <- "Name cannot be an empty string."
414
elif nameValue.Length > 10
0 commit comments