Преглед изворни кода

doc: man-page base command

Provide a description of the base command.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Heinrich Schuchardt пре 3 година
родитељ
комит
5ff1357227
2 измењених фајлова са 24 додато и 0 уклоњено
  1. 23 0
      doc/usage/base.rst
  2. 1 0
      doc/usage/index.rst

+ 23 - 0
doc/usage/base.rst

@@ -0,0 +1,23 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+base command
+============
+
+Synopsis
+--------
+
+::
+
+    base [address]
+
+Description
+-----------
+
+The *base* command sets or displays the address offset used by the memory
+commands *cmp, cp, md, mdc, mm, ms, mw, mwc*.
+
+All other commands ignore the address defined by *base*.
+
+address
+    new base address as hexadecimal number. If no value is provided, the current
+    value is displayed.

+ 1 - 0
doc/usage/index.rst

@@ -11,6 +11,7 @@ Shell commands
 .. toctree::
    :maxdepth: 1
 
+   base
    bootefi
    bootmenu
    button