8000 Fix broken links in docs · ruby/optparse@2bea3b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2bea3b3

Browse files
peterzhu2118hsbt
authored andcommitted
Fix broken links in docs
1 parent 3653d5b commit 2bea3b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/optparse/creates_option.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Creates an option from the given parameters +params+.
2-
See {Parameters for New Options}[./option_params.rdoc].
2+
See {Parameters for New Options}[optparse/option_params.rdoc].
33

44
The block, if given, is the handler for the created option.
55
When the option is encountered during command-line parsing,
66
the block is called with the argument given for the option, if any.
7-
See {Option Handlers}[./option_params.rdoc#label-Option+Handlers].
7+
See {Option Handlers}[optparse/option_params.rdoc#label-Option+Handlers].

doc/optparse/tutorial.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Though you may never need to call it directly,
657657
here's the core method for defining an option:
658658

659659
- \Method \OptionParser#make_switch accepts an array of parameters and a block.
660-
See {Parameters for New Options}[./option_params.rdoc].
660+
See {Parameters for New Options}[optparse/option_params.rdoc].
661661
This method is unlike others here in that it:
662662
- Accepts an <em>array of parameters</em>;
663663
others accept a <em>sequence of parameter arguments</em>.

0 commit comments

Comments
 (0)
0