Skip to content

Commit

Permalink
Fix broken links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 authored and hsbt committed Apr 15, 2022
1 parent 3653d5b commit 2bea3b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/optparse/creates_option.rdoc
@@ -1,7 +1,7 @@
Creates an option from the given parameters +params+.
See {Parameters for New Options}[./option_params.rdoc].
See {Parameters for New Options}[optparse/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].
See {Option Handlers}[optparse/option_params.rdoc#label-Option+Handlers].
2 changes: 1 addition & 1 deletion doc/optparse/tutorial.rdoc
Expand Up @@ -657,7 +657,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}[./option_params.rdoc].
See {Parameters for New Options}[optparse/option_params.rdoc].
This method is unlike others here in that it:
- Accepts an <em>array of parameters</em>;
others accept a <em>sequence of parameter arguments</em>.
Expand Down

0 comments on commit 2bea3b3

Please sign in to comment.