[PATCH] Documentation: state: add a little note about modifying a state variable in the frontend
Matthias Fend
Matthias.Fend at wolfvision.net
Thu Nov 5 15:16:04 EST 2020
Signed-off-by: Matthias Fend <matthias.fend at wolfvision.net>
---
Documentation/user/state.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst
index 78ce24f..d9a8e76 100644
--- a/Documentation/user/state.rst
+++ b/Documentation/user/state.rst
@@ -689,4 +689,5 @@ be accessed like normal shell variables. The ``state`` command is used
to save/restore a *state* variable set to the backend device.
After initializing the variable can be accessed with ``$state.foo``.
+To modify the value of a state variable use ``nv dev.state.foo=bar``.
``state -s`` stores the *state* to the backend device.
--
2.9.3
More information about the barebox
mailing list