Skip to content

Commit f030b21

Browse files
authored
Merge pull request #13 from mrboring-forks/main
Fixed typo in readme
2 parents 0150894 + ecae238 commit f030b21

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)