how-to-update.rst : try adding code block inside nested list

Add code block inside nested list and collapse the highest level to make the article a bit shorter
This commit is contained in:
Randy 2025-10-28 12:10:40 +00:00 committed by GitHub
parent ca2b5312d8
commit 862d5be63f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,22 +95,21 @@ Advanced users may wish to perform updates via the command-line interface. There
2. Use ``qubes-dom0-update`` to update dom0, and use ``qubes-vm-update`` to update domUs: 2. Use ``qubes-dom0-update`` to update dom0, and use ``qubes-vm-update`` to update domUs:
- Execute ``sudo qubes-dom0-update`` to check for updates and apply them or add arguments to tweak the behavior. Refer to: - To check for dom0 updates and apply them, execute
- ``qubes-dom0-update --help`` .. code:: console
- ``man qubes-dom0-update`` (if you have documentation installed) # qubes-dom0-update
- `manual on github <https://github.com/QubesOS/qubes-core-admin-linux/blob/main/doc/tools/qubes-dom0-update.rst>`__ (make sure to read the appropriate version) Or add arguments to tweak the default behaviour. Refer to ``qubes-dom0-update --help``, manpage (if you have them installed) or `manpage on github <https://github.com/QubesOS/qubes-core-admin-linux/blob/main/doc/tools/qubes-dom0-update.rst>`__ (make sure to read the appropriate version).
- Execute ``qubes-vm-update -T`` to update all templates with available updates or use a different set of arguments. Refer to: - To update all updatable templates, execute
- ``qubes-vm-update --help`` .. code:: console
- ``man qubes-vm-update`` (if you have documentation installed) $ qubes-vm-update -T
- `manual on github <https://github.com/QubesOS/qubes-core-admin-linux/blob/main/doc/tools/qubes-vm-update.rst>`__ (make sure to read the appropriate version)
Or use a different set of arguments. Refer to ``qubes-vm-update --help``, manpage (if you have them installed) or `manpage on github <https://github.com/QubesOS/qubes-core-admin-linux/blob/main/doc/tools/qubes-vm-update.rst>`__ (make sure to read the appropriate version).
Using either of these methods has the same effect as updating via the Qubes Update tool. Using either of these methods has the same effect as updating via the Qubes Update tool.