Skip to content

Commit aa617df

Browse files
authored
chore(docs): Sorted variable type order
Signed-off-by: rakekniven <[email protected]>
1 parent b07dfbb commit aa617df

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

admin_manual/occ_command.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,16 +438,15 @@ applies only to the ``config:system:set`` command. The following values are
438438
known:
439439

440440
* ``boolean``
441-
* ``integer``
442441
* ``float``
443-
* ``string`` (default)
444-
* ``null``
442+
* ``integer``
445443
* ``json``
444+
* ``null``
445+
* ``string`` (default)
446446

447447
When you want to e.g. disable the maintenance mode run the following command::
448448

449-
sudo -E -u www-data php occ config:system:set maintenance --value=false
450-
--type=boolean
449+
sudo -E -u www-data php occ config:system:set maintenance --value=false --type=boolean
451450
Nextcloud is in maintenance mode - no app have been loaded
452451
System config value maintenance set to boolean false
453452

@@ -467,8 +466,7 @@ second ``name`` in the ``config:system:set`` command, separated by a
467466
space. For example, to replace ``sample.tld`` with ``example.com``,
468467
``trusted_domains => 2`` needs to be set::
469468

470-
sudo -E -u www-data php occ config:system:set trusted_domains 2
471-
--value=example.com
469+
sudo -E -u www-data php occ config:system:set trusted_domains 2 --value=example.com
472470
System config value trusted_domains => 2 set to string example.com
473471

474472
sudo -E -u www-data php occ config:system:get trusted_domains

0 commit comments

Comments
 (0)