ruby-changes:71910
From: ydah <ko1@a...>
Date: Sat, 21 May 2022 08:48:02 +0900 (JST)
Subject: [ruby-changes:71910] 6c7e2617d1 (master): [ruby/optparse] Fix typo in documentation
https://git.ruby-lang.org/ruby.git/commit/?id=6c7e2617d1 From 6c7e2617d169417674859d0fed55acb19bec4a15 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@u...> Date: Sat, 21 May 2022 06:24:41 +0900 Subject: [ruby/optparse] Fix typo in documentation - "hypnen" -> "hyphen" - "hadler" -> "handler" https://github.com/ruby/optparse/commit/e70e689ded --- doc/optparse/option_params.rdoc | 4 ++-- 1 file 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 https://github.com/ruby/ruby/blob/trunk/doc/optparse/option_params.rdoc#L418 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: https://github.com/ruby/ruby/blob/trunk/doc/optparse/option_params.rdoc#L453 ==== 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. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/