mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Fix some more style issues
This commit is contained in:
parent
c66f49652c
commit
a3b2bb1b42
@ -54,9 +54,9 @@ Outputting information
|
||||
A repair step can generate information while running, using the
|
||||
``OCP\Migration\IOutput`` parameter to the ``run`` method.
|
||||
Using the ``info`` and ``warning`` methods a message can be shown in the console.
|
||||
In orderto show a progressbar, firstly call the ``startProgress`` method.
|
||||
In order to show a progressbar, firstly call the ``startProgress`` method.
|
||||
The maximum number of steps can be adjusted by passing it as argument to the
|
||||
``startProgress`` method. After every step run the ``advance`` method. When all steps are finished run the ``finishProgress``
|
||||
``startProgress`` method. After every step run the ``advance`` method. Once all steps are finished run the ``finishProgress``
|
||||
method.
|
||||
|
||||
The following function will sleep for 10 seconds and show the progress:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user