Merge pull request #8289 from nextcloud/backport/8285/stable22

[stable22] Fix command options formatting
This commit is contained in:
Côme Chilliet 2022-05-09 10:31:03 +02:00 committed by GitHub
commit 555fb82195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View File

@ -155,6 +155,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

@ -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