1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 committed by git
parent 50bad7159a
commit 6c7e2617d1

View file

@ -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.