[ruby/optparse] Fix typo in documentation

- "hypnen" -> "hyphen"
- "hadler" -> "handler"

https://github.com/ruby/optparse/commit/e70e689ded
This commit is contained in:
ydah 2022-05-21 06:24:41 +09:00 коммит произвёл git
Родитель 50bad7159a
Коммит 6c7e2617d1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 <tt>--help</tt>.
@ -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.