From 9b37585f60948f9e0d307c02a30b546b9ba93274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 9 May 2022 10:09:37 +0200 Subject: [PATCH] Fix command options formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoids double-dash being turned into a single one by rendering. Signed-off-by: Côme Chilliet --- .../external_storage_configuration_gui.rst | 2 +- admin_manual/configuration_server/occ_command.rst | 4 ++-- admin_manual/configuration_user/user_auth_ldap_cleanup.rst | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/admin_manual/configuration_files/external_storage_configuration_gui.rst b/admin_manual/configuration_files/external_storage_configuration_gui.rst index 2596e0c2c..86cbdb7a6 100644 --- a/admin_manual/configuration_files/external_storage_configuration_gui.rst +++ b/admin_manual/configuration_files/external_storage_configuration_gui.rst @@ -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. diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 4873e3f46..fe8d99853 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -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:: diff --git a/admin_manual/configuration_user/user_auth_ldap_cleanup.rst b/admin_manual/configuration_user/user_auth_ldap_cleanup.rst index b63ef97af..d003cbb05 100644 --- a/admin_manual/configuration_user/user_auth_ldap_cleanup.rst +++ b/admin_manual/configuration_user/user_auth_ldap_cleanup.rst @@ -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