Skip to content

Commit

Permalink
bug #5126 Fix a typo in ProgressBar usage example (kamazee)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wouterj committed Apr 2, 2015
2 parents 25d2f54 + 511b7a8 commit 5880f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/console/helpers/progressbar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,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%");

0 comments on commit 5880f38

Please sign in to comment.