doc: wording and style fixes

This commit is contained in:
pancho horrillo
2020-06-11 19:45:57 +02:00
parent 87ec20519a
commit 09b6d54487
@@ -99,15 +99,14 @@ source. In fact, a `pow` file is just a regular shell script.
Debugging scripts Debugging scripts
----------------- -----------------
Kapow! redirect standard output and standard error of the pow file given on server Since *Kapow!* redirects the standard output and the standard error of the `pow`
startup to its own standard output and error, so you can use ``set -x`` at the beginning file given on server startup to its own, you can leverage ``set -x`` to see the
of the script in order to be able to see all the commands expanded and usethat information commands that are being executed, and use that for debugging.
for debugging.
In order to be able to debug user request executions, the server subcommand has To support debugging user request executions, the server subcommand has a
a ``--debug`` option flag that redirects the script standard output and standard error ``--debug`` option flag that prompts `Kapow!` to redirect both the script's
to Kapow! standard output, so you can use ``set -x`` at the beginning of the script standard output and standard error to `Kapow!`'s standard output, so you can
the same way as in pow files. leverage ``set -x`` the same way as with `pow` files.
.. code-block:: console .. code-block:: console