Skip to content

Commit a93604b

Browse files
committed
[DOC] Fix dead links in options.md
1 parent 911c1ca commit a93604b

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

doc/language/options.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ nil
6161

6262
See also:
6363

64-
- {Option -a}[rdoc-ref:@a-3A+Split+Input+Lines+into+Fields]:
64+
- {Option -a}[rdoc-ref:@-a+Split+Input+Lines+into+Fields]:
6565
Split input lines into fields.
66-
- {Option -F}[rdoc-ref:@F-3A+Set+Input+Field+Separator]:
66+
- {Option -F}[rdoc-ref:@-F+Set+Input+Field+Separator]:
6767
Set input field separator.
68-
- {Option -l}[rdoc-ref:@l-3A+Set+Output+Record+Separator-3B+Chop+Lines]:
68+
- {Option -l}[rdoc-ref:@-l+Set+Output+Record+Separator+Chop+Lines]:
6969
Set output record separator; chop lines.
70-
- {Option -n}[rdoc-ref:@n-3A+Run+Program+in+gets+Loop]:
70+
- {Option -n}[rdoc-ref:@-n+Run+Program+in+gets+Loop]:
7171
Run program in `gets` loop.
72-
- {Option -p}[rdoc-ref:@p-3A+-n-2C+with+Printing]:
72+
- {Option -p}[rdoc-ref:@-p+-n+with+Printing]:
7373
`-n`, with printing.
7474

7575
### `-a`: Split Input Lines into Fields
@@ -91,15 +91,15 @@ and the default field separator is `$;`.
9191

9292
See also:
9393

94-
- {Option -0}[rdoc-ref:@0-3A+Set+-24-2F+-28Input+Record+Separator-29]:
94+
- {Option -0}[rdoc-ref:@-0+Set++Input+Record+Separator]:
9595
Set `$/` (input record separator).
96-
- {Option -F}[rdoc-ref:@F-3A+Set+Input+Field+Separator]:
96+
- {Option -F}[rdoc-ref:@-F+Set+Input+Field+Separator]:
9797
Set input field separator.
98-
- {Option -l}[rdoc-ref:@l-3A+Set+Output+Record+Separator-3B+Chop+Lines]:
98+
- {Option -l}[rdoc-ref:@-l+Set+Output+Record+Separator+Chop+Lines]:
9999
Set output record separator; chop lines.
100-
- {Option -n}[rdoc-ref:@n-3A+Run+Program+in+gets+Loop]:
100+
- {Option -n}[rdoc-ref:@-n+Run+Program+in+gets+Loop]:
101101
Run program in `gets` loop.
102-
- {Option -p}[rdoc-ref:@p-3A+-n-2C+with+Printing]:
102+
- {Option -p}[rdoc-ref:@-p+-n+with+Printing]:
103103
`-n`, with printing.
104104

105105
### `-c`: Check Syntax
@@ -186,9 +186,9 @@ Whitespace between the option and its argument may be omitted.
186186

187187
See also:
188188

189-
- {Option --external-encoding}[options_md.html#label--external-encoding-3A+Set+Default+External+Encoding]:
189+
- {Option --external-encoding}[rdoc-ref:@--external+encoding+Set+Default+External+Encoding]:
190190
Set default external encoding.
191-
- {Option --internal-encoding}[options_md.html#label--internal-encoding-3A+Set+Default+Internal+Encoding]:
191+
- {Option --internal-encoding}[rdoc-ref:@--internal+encoding+Set+Default+Internal+Encoding]:
192192
Set default internal encoding.
193193

194194
Option `--encoding` is an alias for option `-E`.
@@ -221,15 +221,15 @@ The argument must immediately follow the option
221221

222222
See also:
223223

224-
- {Option -0}[rdoc-ref:@0-3A+Set+-24-2F+-28Input+Record+Separator-29]:
224+
- {Option -0}[rdoc-ref:@-0+Set++Input+Record+Separator]:
225225
Set `$/` (input record separator).
226-
- {Option -a}[rdoc-ref:@a-3A+Split+Input+Lines+into+Fields]:
226+
- {Option -a}[rdoc-ref:@-a+Split+Input+Lines+into+Fields]:
227227
Split input lines into fields.
228-
- {Option -l}[rdoc-ref:@l-3A+Set+Output+Record+Separator-3B+Chop+Lines]:
228+
- {Option -l}[rdoc-ref:@-l+Set+Output+Record+Separator+Chop+Lines]:
229229
Set output record separator; chop lines.
230-
- {Option -n}[rdoc-ref:@n-3A+Run+Program+in+gets+Loop]:
230+
- {Option -n}[rdoc-ref:@-n+Run+Program+in+gets+Loop]:
231231
Run program in `gets` loop.
232-
- {Option -p}[rdoc-ref:@p-3A+-n-2C+with+Printing]:
232+
- {Option -p}[rdoc-ref:@-p+-n+with+Printing]:
233233
`-n`, with printing.
234234

235235
### `-h`: Print Short Help Message
@@ -307,15 +307,15 @@ $ ruby -ln -e 'p $_' desiderata.txt
307307

308308
See also:
309309

310-
- {Option -0}[rdoc-ref:@0-3A+Set+-24-2F+-28Input+Record+Separator-29]:
310+
- {Option -0}[rdoc-ref:@-0+Set++Input+Record+Separator]:
311311
Set `$/` (input record separator).
312-
- {Option -a}[rdoc-ref:@a-3A+Split+Input+Lines+into+Fields]:
312+
- {Option -a}[rdoc-ref:@-a+Split+Input+Lines+into+Fields]:
313313
Split input lines into fields.
314-
- {Option -F}[rdoc-ref:@F-3A+Set+Input+Field+Separator]:
314+
- {Option -F}[rdoc-ref:@-F+Set+Input+Field+Separator]:
315315
Set input field separator.
316-
- {Option -n}[rdoc-ref:@n-3A+Run+Program+in+gets+Loop]:
316+
- {Option -n}[rdoc-ref:@-n+Run+Program+in+gets+Loop]:
317317
Run program in `gets` loop.
318-
- {Option -p}[rdoc-ref:@p-3A+-n-2C+with+Printing]:
318+
- {Option -p}[rdoc-ref:@-p+-n+with+Printing]:
319319
`-n`, with printing.
320320

321321
### `-n`: Run Program in `gets` Loop
@@ -341,15 +341,15 @@ be on good terms with all persons.
341341

342342
See also:
343343

344-
- {Option -0}[rdoc-ref:@0-3A+Set+-24-2F+-28Input+Record+Separator-29]:
344+
- {Option -0}[rdoc-ref:@-0+Set++Input+Record+Separator]:
345345
Set `$/` (input record separator).
346-
- {Option -a}[rdoc-ref:@a-3A+Split+Input+Lines+into+Fields]:
346+
- {Option -a}[rdoc-ref:@-a+Split+Input+Lines+into+Fields]:
347347
Split input lines into fields.
348-
- {Option -F}[rdoc-ref:@F-3A+Set+Input+Field+Separator]:
348+
- {Option -F}[rdoc-ref:@-F+Set+Input+Field+Separator]:
349349
Set input field separator.
350-
- {Option -l}[rdoc-ref:@l-3A+Set+Output+Record+Separator-3B+Chop+Lines]:
350+
- {Option -l}[rdoc-ref:@-l+Set+Output+Record+Separator+Chop+Lines]:
351351
Set output record separator; chop lines.
352-
- {Option -p}[rdoc-ref:@p-3A+-n-2C+with+Printing]:
352+
- {Option -p}[rdoc-ref:@-p+-n+with+Printing]:
353353
`-n`, with printing.
354354

355355
### `-p`: `-n`, with Printing
@@ -370,15 +370,15 @@ be on good terms with all persons.
370370

371371
See also:
372372

373-
- {Option -0}[rdoc-ref:@0-3A+Set+-24-2F+-28Input+Record+Separator-29]:
373+
- {Option -0}[rdoc-ref:@-0+Set++Input+Record+Separator]:
374374
Set `$/` (input record separator).
375-
- {Option -a}[rdoc-ref:@a-3A+Split+Input+Lines+into+Fields]:
375+
- {Option -a}[rdoc-ref:@-a+Split+Input+Lines+into+Fields]:
376376
Split input lines into fields.
377-
- {Option -F}[rdoc-ref:@F-3A+Set+Input+Field+Separator]:
377+
- {Option -F}[rdoc-ref:@-F+Set+Input+Field+Separator]:
378378
Set input field separator.
379-
- {Option -l}[rdoc-ref:@l-3A+Set+Output+Record+Separator-3B+Chop+Lines]:
379+
- {Option -l}[rdoc-ref:@-l+Set+Output+Record+Separator+Chop+Lines]:
380380
Set output record separator; chop lines.
381-
- {Option -n}[rdoc-ref:@n-3A+Run+Program+in+gets+Loop]:
381+
- {Option -n}[rdoc-ref:@-n+Run+Program+in+gets+Loop]:
382382
Run program in `gets` loop.
383383

384384
### `-r`: Require Library
@@ -427,7 +427,7 @@ $ ruby -s t.rb -foo=baz -bar=bat
427427
```
428428

429429
The option may not be used with
430-
{option -e}[rdoc-ref:@e-3A+Execute+Given+Ruby+Code]
430+
{option -e}[rdoc-ref:@-e+Execute+Given+Ruby+Code]
431431

432432
### `-S`: Search Directories in `ENV['PATH']`
433433

@@ -595,7 +595,7 @@ The supported features:
595595
- `frozen-string-literal`: Freeze all string literals (default: disabled).
596596
- `jit`: JIT compiler (default: disabled).
597597

598-
See also {option --enable}[options_md.html#label--enable-3A+Enable+Features].
598+
See also {option --enable}[rdoc-ref:@--enable+Enable+Features].
599599

600600
### `--dump`: Dump Items
601601

@@ -606,15 +606,15 @@ Some of the argument values cause the command to behave as if a different
606606
option was given:
607607

608608
- `--dump=copyright`:
609-
Same as {option \-\-copyright}[options_md.html#label--copyright-3A+Print+Ruby+Copyright].
609+
Same as {option \-\-copyright}[rdoc-ref:@--copyright+Print+Ruby+Copyright].
610610
- `--dump=help`:
611-
Same as {option \-\-help}[options_md.html#label--help-3A+Print+Help+Message].
611+
Same as {option \-\-help}[rdoc-ref:@--help+Print+Help+Message].
612612
- `--dump=syntax`:
613-
Same as {option -c}[rdoc-ref:@c-3A+Check+Syntax].
613+
Same as {option -c}[rdoc-ref:@-c+Check+Syntax].
614614
- `--dump=usage`:
615-
Same as {option -h}[rdoc-ref:@h-3A+Print+Short+Help+Message].
615+
Same as {option -h}[rdoc-ref:@-h+Print+Short+Help+Message].
616616
- `--dump=version`:
617-
Same as {option \-\-version}[options_md.html#label--version-3A+Print+Ruby+Version].
617+
Same as {option \-\-version}[rdoc-ref:@--version+Print+Ruby+Version].
618618

619619
For other argument values and examples,
620620
see {Option --dump}[option_dump_md.html].
@@ -629,7 +629,7 @@ ruby --enable=gems,rubyopt t.rb
629629
```
630630

631631
For the features,
632-
see {option --disable}[options_md.html#label--disable-3A+Disable+Features].
632+
see {option --disable}[rdoc-ref:@--disable+Disable+Features].
633633

634634
### `--encoding`: Alias for `-E`.
635635

0 commit comments

Comments
 (0)