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.
2 parents 0150894 + ecae238 commit f030b21Copy full SHA for f030b21
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