mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00

[ruby/optparse] Fix links to the page directory files [Bug #18468]
dab72c543d
---
doc/optparse/creates_option.rdoc | 4 ++--
doc/optparse/option_params.rdoc | 2 +-
doc/optparse/tutorial.rdoc | 4 ++--
lib/optparse.rb | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
7 lines
366 B
Text
7 lines
366 B
Text
Creates an option from the given parameters +params+.
|
|
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}[./option_params.rdoc#label-Option+Handlers].
|