summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorydah <13041216+ydah@users.noreply.github.com>2022-05-21 06:24:41 +0900
committergit <svn-admin@ruby-lang.org>2022-05-21 08:47:53 +0900
commit6c7e2617d169417674859d0fed55acb19bec4a15 (patch)
treef7ed7f87b05d949652cf835148574ee6da85a575 /doc
parent50bad7159a8e1f9846f37421c941f6fa8f087591 (diff)
[ruby/optparse] Fix typo in documentation
- "hypnen" -> "hyphen" - "hadler" -> "handler" https://github.com/ruby/optparse/commit/e70e689ded
Diffstat (limited to 'doc')
-rw-r--r--doc/optparse/option_params.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/optparse/option_params.rdoc b/doc/optparse/option_params.rdoc
index b2e4e1a33c..ace2c4283f 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 <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.