From cff0c8fd307e0a8600d2e2cbae3ce7011e662b3f Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sun, 1 Nov 2026 18:07:10 +0000 Subject: [PATCH] [DOC] Fix links --- doc/optparse/creates_option.rdoc | 4 ++-- doc/optparse/tutorial.rdoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/optparse/creates_option.rdoc b/doc/optparse/creates_option.rdoc index ab672d5..fc6786e 100644 --- a/doc/optparse/creates_option.rdoc +++ b/doc/optparse/creates_option.rdoc @@ -1,7 +1,7 @@ Creates an option from the given parameters +params+. -See {Parameters for New Options}[optparse/option_params.rdoc]. +See {Parameters for New Options}[option_params.rdoc]. 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}[optparse/option_params.rdoc#label-Option+Handlers]. +See {Option Handlers}[option_params.rdoc#label-Option+Handlers]. diff --git a/doc/optparse/tutorial.rdoc b/doc/optparse/tutorial.rdoc index 1134f94..ea41b1a 100644 --- a/doc/optparse/tutorial.rdoc +++ b/doc/optparse/tutorial.rdoc @@ -680,7 +680,7 @@ Though you may never need to call it directly, here's the core method for defining an option: - \Method OptionParser#make_switch accepts an array of parameters and a block. - See {Parameters for New Options}[optparse/option_params.rdoc]. + See {Parameters for New Options}[option_params.rdoc]. This method is unlike others here in that it: - Accepts an array of parameters; others accept a sequence of parameter arguments.