Add unset property option

This commit is contained in:
GeorgianaElena
2019-05-28 16:13:42 +03:00
parent 97d3c3a9e0
commit bc9aa45b49
3 changed files with 150 additions and 3 deletions

View File

@@ -22,8 +22,8 @@ You can run ``tljh-config`` in two ways:
.. _tljh-set:
Set a configuration property
============================
Set / Unset a configuration property
====================================
TLJH's configuration is organized in a nested tree structure. You can
set a particular property with the following command:
@@ -50,6 +50,17 @@ do so with the following:
This can only set string and numerical properties, not lists.
To unset a configuration property you can use the following command:
.. code-block:: bash
sudo tljh-config unset <property-path>
Unsetting a configuration property removes the property from the configuration
file. If what you want is only to change the property's value, you should use
``set`` and overwrite it with the desired value.
Some of the existing ``<property-path>`` are listed below by categories: