Skip to content

Commit 511b7a8

Browse files
kamazeewouterj
authored andcommitted
Fix a typo in ProgressBar usage example
Docs say `%step%` while the context suggests `%current%` -- looks like a typo. Valid for all versions since 2.5.
1 parent 25d2f54 commit 511b7a8

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)