mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Documentation: state: add a little note about modifying a state variable in the frontend
@ 2020-11-05 20:16 Matthias Fend
  2020-11-05 20:57 ` Ahmad Fatoum
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Fend @ 2020-11-05 20:16 UTC (permalink / raw)
  To: barebox

Signed-off-by: Matthias Fend <matthias.fend@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-10 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 20:16 [PATCH] Documentation: state: add a little note about modifying a state variable in the frontend Matthias Fend
2020-11-05 20:57 ` Ahmad Fatoum
2020-11-06  7:14   ` AW: " Matthias Fend
2020-11-06  7:50     ` Ahmad Fatoum
2020-11-09  9:11     ` Sascha Hauer
2020-11-10 14:09       ` AW: " Matthias Fend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox