Skip to content

Commit ecae238

Browse files
committed
Fixed typo in readme
1 parent 0150894 commit ecae238

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ let main argv =
408408
o.Description <- "User name"
409409
o.SetDefaultValue "-- NotSet --"
410410
o.AddValidator(fun result ->
411-
let nameValue = result.GetValueForOption(opt)
411+
let nameValue = result.GetValueForOption(o)
412412
if System.String.IsNullOrWhiteSpace(nameValue)
413413
then result.ErrorMessage <- "Name cannot be an empty string."
414414
elif nameValue.Length > 10

0 commit comments

Comments
 (0)