From 149b45fd78c44f1185c82e4f939048e7e70a8890 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Sat, 21 May 2022 06:24:41 +0900 Subject: [PATCH] Fix typo in documentation - "hypnen" -> "hyphen" - "hadler" -> "handler" --- doc/optparse/option_params.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/optparse/option_params.rdoc b/doc/optparse/option_params.rdoc index b2e4e1a..ace2c42 100644 --- a/doc/optparse/option_params.rdoc +++ b/doc/optparse/option_params.rdoc @@ -418,7 +418,7 @@ A description parameter is any string parameter that is not recognized as an {option name}[#label-Option+Names] or a {terminator}[#label-Terminators]; -in other words, it does not begin with a hypnen. +in other words, it does not begin with a hyphen. You may give any number of description parameters; each becomes a line in the text generated by option --help. @@ -453,7 +453,7 @@ when the option is encountered. The handler may be: ==== Handler Blocks -An option hadler may be a block. +An option handler may be a block. File +block.rb+ defines an option that has a handler block.