From 7d61866b3775a40bbb25db0da9277847e8408e5d Mon Sep 17 00:00:00 2001 From: Alexander Kurilo Date: Mon, 30 Mar 2015 19:00:01 +0300 Subject: [PATCH] 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. --- components/console/helpers/progressbar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/console/helpers/progressbar.rst b/components/console/helpers/progressbar.rst index fec1b8c127f..9b8179e3685 100644 --- a/components/console/helpers/progressbar.rst +++ b/components/console/helpers/progressbar.rst @@ -320,4 +320,4 @@ your own:: For the ``filename`` to be part of the progress bar, just add the ``%filename%`` placeholder in your format:: - $bar->setFormat(" %message%\n %step%/%max%\n Working on %filename%"); + $bar->setFormat(" %message%\n %current%/%max%\n Working on %filename%");