8000 Fix typo in documentation · ruby/optparse@e70e689 · GitHub
[go: up one dir, main page]

Skip to content

Commit e70e689

Browse files
ydahhsbt
authored andcommitted
Fix typo in documentation
- "hypnen" -> "hyphen" - "hadler" -> "handler"
1 parent 4b47d9c commit e70e689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/optparse/option_params.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ A description parameter is any string parameter
418418
that is not recognized as an
419419
{option name}[#label-Option+Names] or a
420420
{terminator}[#label-Terminators];
421-
in other words, it does not begin with a hypnen.
421+
in other words, it does not begin with a hyphen.
422422

423423
You may give any number of description parameters;
424424
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:
453453

454454
==== Handler Blocks
455455

456-
An option hadler may be a block.
456+
An option handler may be a block.
457457

458458
File +block.rb+ defines an option that has a handler block.
459459

0 commit comments

Comments
 (0)
0