Skip to content

Commit 5880f38

Browse files
committed
bug #5126 Fix a typo in ProgressBar usage example (kamazee)
This PR was submitted for the 2.5 branch but it was merged into the 2.6 branch instead (closes #5126). Discussion ---------- Fix a typo in ProgressBar usage example | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.5+ | Fixed tickets | #5125 Docs say `%step%` while the context suggests `%current%` -- looks like a typo. Commits ------- 511b7a8 Fix a typo in ProgressBar usage example
2 parents 25d2f54 + 511b7a8 commit 5880f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/progressbar.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,4 @@ your own::
334334
For the ``filename`` to be part of the progress bar, just add the
335335
``%filename%`` placeholder in your format::
336336

337-
$bar->setFormat(" %message%\n %step%/%max%\n Working on %filename%");
337+
$bar->setFormat(" %message%\n %current%/%max%\n Working on %filename%");

0 commit comments

Comments
 (0)