Skip to content

Commit a51a5d8

Browse files
committed
deploy: 2ed80ff
1 parent 4fcf25d commit a51a5d8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dev/src/uu_cp/cp.rs.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -2661,16 +2661,16 @@
26612661
<span class="kw">let </span><span class="kw-2">mut </span>symlinked_files = HashSet::new();
26622662

26632663
<span class="kw">let </span>progress_bar = <span class="kw">if </span>options.progress_bar {
2664-
<span class="prelude-val">Some</span>(
2665-
ProgressBar::new(disk_usage(sources, options.recursive)<span class="question-mark">?</span>)
2666-
.with_style(
2667-
ProgressStyle::with_template(
2668-
<span class="string">&quot;{msg}: [{elapsed_precise}] {wide_bar} {bytes:&gt;7}/{total_bytes:7}&quot;</span>,
2669-
)
2670-
.unwrap(),
2664+
<span class="kw">let </span>pb = ProgressBar::new(disk_usage(sources, options.recursive)<span class="question-mark">?</span>)
2665+
.with_style(
2666+
ProgressStyle::with_template(
2667+
<span class="string">&quot;{msg}: [{elapsed_precise}] {wide_bar} {bytes:&gt;7}/{total_bytes:7}&quot;</span>,
26712668
)
2672-
.with_message(uucore::util_name()),
2673-
)
2669+
.unwrap(),
2670+
)
2671+
.with_message(uucore::util_name());
2672+
pb.tick();
2673+
<span class="prelude-val">Some</span>(pb)
26742674
} <span class="kw">else </span>{
26752675
<span class="prelude-val">None
26762676
</span>};

0 commit comments

Comments
 (0)