Merge pull request #8285 from nextcloud/fix/fix-command-option-escaping

Fix command options formatting
This commit is contained in:
Côme Chilliet
2022-05-09 10:17:39 +02:00
committed by GitHub
4 changed files with 6 additions and 7 deletions

View File

@@ -159,6 +159,6 @@ changed remotely (files changed without going through Nextcloud), especially
when it's very deep in the folder hierarchy of the external storage.
You might need to setup a cron job that runs ``sudo -u www-data php occ files:scan --all``
(or replace "--all" with the user name, see also :doc:`../configuration_server/occ_command`)
(or replace ``--all`` with the user name, see also :doc:`../configuration_server/occ_command`)
to trigger a rescan of the user's files periodically (for example every 15 minutes), which includes
the mounted external storage.

View File

@@ -1846,7 +1846,7 @@ the passed keys and certificates are readable by the PHP process. In addition
PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT might need to be set to false, if the
database servers certificates CN does not match with the hostname used to connect.
The standard behavior here is different from the MySQL/MariaDB CLI client, which
does not verify the server cert except --ssl-verify-server-cert is passed manually.
does not verify the server cert except ``--ssl-verify-server-cert`` is passed manually.
::

View File

@@ -689,9 +689,9 @@ the scan::
Verbosity levels of ``-vv`` or ``-vvv`` are automatically reset to ``-v``
Note for option --unscanned:
Note for option ``--unscanned``:
In general there is a background job (through cron) that will do that scan periodically.
The --unscanned option makes it possible to trigger this from the CLI.
The ``--unscanned`` option makes it possible to trigger this from the CLI.
When using the ``--path`` option, the path must consist of following
components::

View File

@@ -66,9 +66,8 @@ This example shows what the table of users marked as ``deleted`` looks like::
Following flags can be specified additionally:
*--short-date*: formats the dates for ``Last login`` and ``Detected on`` in a short Y-m-d format (e.g. 2019-01-14)
*--json--*: instead of a table, the output is json-encoded. This makes it easy to process the data programmatically.
* ``--short-date``: formats the dates for ``Last login`` and ``Detected on`` in a short Y-m-d format (e.g. 2019-01-14)
* ``--json``: instead of a table, the output is json-encoded. This makes it easy to process the data programmatically.
Then you can run ``sudo -u www-data php occ user:delete aaliyah_brown`` to delete