diff options
author | ydah <[email protected]> | 2022-05-21 06:24:41 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-05-21 08:47:53 +0900 |
commit | 6c7e2617d169417674859d0fed55acb19bec4a15 (patch) | |
tree | f7ed7f87b05d949652cf835148574ee6da85a575 /doc/optparse | |
parent | 50bad7159a8e1f9846f37421c941f6fa8f087591 (diff) |
[ruby/optparse] Fix typo in documentation
- "hypnen" -> "hyphen"
- "hadler" -> "handler"
https://github.com/ruby/optparse/commit/e70e689ded
Diffstat (limited to 'doc/optparse')
-rw-r--r-- | doc/optparse/option_params.rdoc | 4 |
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. |