|
357 | 357 | <ahref="#357"id="357">357</a>
|
358 | 358 | <ahref="#358"id="358">358</a>
|
359 | 359 | <ahref="#359"id="359">359</a>
|
| 360 | +<ahref="#360"id="360">360</a> |
| 361 | +<ahref="#361"id="361">361</a> |
360 | 362 | </pre></div><preclass="rust"><code><spanclass="comment">// * This file is part of the uutils coreutils package.
|
361 | 363 | // *
|
362 | 364 | // * (c) Tobias Bohumir Schottdorf <tobias.schottdorf@gmail.com>
|
|
656 | 658 |
|
657 | 659 | <spanclass="kw">if let</span><spanclass="prelude-val">Some</span>(new_style) = new_numbering_style {
|
658 | 660 | current_numbering_style = new_style;
|
659 |
| - line_no = settings.starting_line_number; |
| 661 | +<spanclass="kw">if</span>settings.renumber { |
| 662 | + line_no = settings.starting_line_number; |
| 663 | + } |
660 | 664 | <spanclass="macro">println!</span>();
|
661 | 665 | }<spanclass="kw">else</span>{
|
662 | 666 | <spanclass="kw">let</span>is_line_numbered =<spanclass="kw">match</span>current_numbering_style {
|
|