From c795f30ef00e5d428b4ffaf95e91d61f4a26a505 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Fri, 9 Apr 2021 08:21:34 -0500 Subject: [ruby/optparse] Reorganize Ruby example files for sharing (#14) https://github.com/ruby/optparse/commit/9a2352c1c9 --- doc/creates_option.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/creates_option.rdoc') diff --git a/doc/creates_option.rdoc b/doc/creates_option.rdoc index d006706382..af1ac16f2b 100644 --- a/doc/creates_option.rdoc +++ b/doc/creates_option.rdoc @@ -1,7 +1,7 @@ Creates an option from the given parameters +params+. -See {Parameters for New Options}[doc/option_params/option_params_rdoc.html]. +See {Parameters for New Options}[doc/option_params_rdoc.html]. The block, if given, is the handler for the created option. When the option is encountered during command-line parsing, the block is called with the argument given for the option, if any. -See {Option Handlers}[doc/option_params/option_params_rdoc.html#label-Option+Handlers]. +See {Option Handlers}[doc/option_params_rdoc.html#label-Option+Handlers]. -- cgit v1.2.3