Skip to content

Commit

Permalink
[ruby/optparse] Fix typo in documentation
Browse files Browse the repository at this point in the history
- "hypnen" -> "hyphen"
- "hadler" -> "handler"

ruby/optparse@e70e689ded
  • Loading branch information
ydah authored and matzbot committed May 20, 2022
1 parent 50bad71 commit 6c7e261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/optparse/option_params.rdoc
Expand Up @@ -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>.
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 6c7e261

Please sign in to comment.