summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-08-12 17:32:04 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-08-15 11:17:20 +0200
commit24396d8cb2ed315c8b389d7fed1b7375cb941548 (patch)
tree8d7da76d69f3980d8d470decd524af7beebf5477
parent1b31a1eaf9fe4aea823c86ef81e5bd1dc71fa809 (diff)
downloadbarebox-24396d8cb2ed315c8b389d7fed1b7375cb941548.tar.gz
barebox-24396d8cb2ed315c8b389d7fed1b7375cb941548.tar.xz
Documentation: variables: fix error in "code-block" directive
The patch fixes this sphinx error: barebox/Documentation/user/variables.rst:79: ERROR: Error in "code-block" directive: maximum 1 argument(s) allowed, 15 supplied. .. code-block:: sh barebox@Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root) barebox@Phytec phyCARD-i.MX27:/ devinfo nand0 Parameters: [...] partitions: 4M(barebox),1M(barebox-environment),8M(kernel),1011M(root) [...] Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/user/variables.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/user/variables.rst b/Documentation/user/variables.rst
index 89aadf58fd..e0a79416c6 100644
--- a/Documentation/user/variables.rst
+++ b/Documentation/user/variables.rst
@@ -77,6 +77,7 @@ to the corresponding <devname>.<paramname> variable.
This example changes the partitioning of the nand0 device:
.. code-block:: sh
+
barebox@Phytec phyCARD-i.MX27:/ nv dev.nand0.partitions: 4M(barebox),1M(barebox-environment),-(root)
barebox@Phytec phyCARD-i.MX27:/ devinfo nand0
Parameters: