From: Matthias Fend <Matthias.Fend@wolfvision.net>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: [PATCH] Documentation: state: add a little note about modifying a state variable in the frontend
Date: Thu, 5 Nov 2020 20:16:04 +0000 [thread overview]
Message-ID: <VI1PR0802MB2334314CB7FA7F0BD64F9C8885EE0@VI1PR0802MB2334.eurprd08.prod.outlook.com> (raw)
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
next reply other threads:[~2020-11-05 20:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 20:16 Matthias Fend [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=VI1PR0802MB2334314CB7FA7F0BD64F9C8885EE0@VI1PR0802MB2334.eurprd08.prod.outlook.com \
--to=matthias.fend@wolfvision.net \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox