From 6c11202b79262ff63ce74a8f56b3b8cf3727e9f4 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 11 Apr 2025 17:26:27 -0600 Subject: [PATCH] docs: Update config for remove action --- docs/chapters/subcommands/config.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/chapters/subcommands/config.rst b/docs/chapters/subcommands/config.rst index c25dfc0e..88d8610e 100644 --- a/docs/chapters/subcommands/config.rst +++ b/docs/chapters/subcommands/config.rst @@ -1,7 +1,7 @@ config ====== -Get or set properties for targeted jail(s). +Get,set or remove properties from targeted jail(s). Getting a property that *is* defined in jail.conf: @@ -26,10 +26,19 @@ Setting a property: The restart message will appear every time a property is set. +Removing a property: + +.. code-block:: shell + + ishmael ~ # bastille config azkaban remove allow.mlock + A restart is required for the changes to be applied. See 'bastille restart azkaban'. + +The restart message will appear every time a property is removed. + .. code-block:: shell ishmael ~ # bastille config help - Usage: bastille config TARGET [get|set] PROPERTY_NAME NEW_VALUE + Usage: bastille config TARGET [get|set|remove] PROPERTY_NAME [NEW_VALUE] Options: -x | --debug Enable debug mode.