[PATCH] doc: usage: Group all shell command docs into cmd/ sub-direcotry

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Mar 29 18:25:05 CEST 2022


On 3/28/22 05:02, Bin Meng wrote:
> Currently all shell command docs are put in the doc/usage root.
> Let's group them into cmd/ sub-direcotry.

%s/direcotry/directory/

I will fix that.

>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>   doc/usage/{ => cmd}/acpi.rst         |  0
>   doc/usage/{ => cmd}/addrmap.rst      |  0
>   doc/usage/{ => cmd}/askenv.rst       |  0
>   doc/usage/{ => cmd}/base.rst         |  0
>   doc/usage/{ => cmd}/bootefi.rst      |  0
>   doc/usage/{ => cmd}/booti.rst        |  0
>   doc/usage/{ => cmd}/bootmenu.rst     |  0
>   doc/usage/{ => cmd}/button.rst       |  0
>   doc/usage/{x86 => cmd}/cbsysinfo.rst |  0
>   doc/usage/{ => cmd}/conitrace.rst    |  0
>   doc/usage/{ => cmd}/echo.rst         |  0
>   doc/usage/{ => cmd}/exception.rst    |  0
>   doc/usage/{ => cmd}/exit.rst         |  0
>   doc/usage/{ => cmd}/extension.rst    |  0
>   doc/usage/{ => cmd}/false.rst        |  0
>   doc/usage/{ => cmd}/fatinfo.rst      |  0
>   doc/usage/{ => cmd}/fatload.rst      |  0
>   doc/usage/{ => cmd}/for.rst          |  0
>   doc/usage/{ => cmd}/load.rst         |  0
>   doc/usage/{ => cmd}/loady.rst        |  0
>   doc/usage/{ => cmd}/mbr.rst          |  0
>   doc/usage/{ => cmd}/md.rst           |  0
>   doc/usage/{ => cmd}/mmc.rst          |  0
>   doc/usage/{ => cmd}/pinmux.rst       |  0
>   doc/usage/{ => cmd}/pstore.rst       |  0
>   doc/usage/{ => cmd}/qfw.rst          |  0
>   doc/usage/{ => cmd}/reset.rst        |  0
>   doc/usage/{ => cmd}/sbi.rst          |  0
>   doc/usage/{ => cmd}/scp03.rst        |  0
>   doc/usage/{ => cmd}/setexpr.rst      |  0
>   doc/usage/{ => cmd}/sf.rst           |  0
>   doc/usage/{ => cmd}/size.rst         |  0
>   doc/usage/{ => cmd}/true.rst         |  0
>   doc/usage/{ => cmd}/ums.rst          |  0

wdt.rst was added recently.

I will fix that when merging.

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

>   doc/usage/index.rst                  | 68 ++++++++++++++--------------
>   35 files changed, 34 insertions(+), 34 deletions(-)
>   rename doc/usage/{ => cmd}/acpi.rst (100%)
>   rename doc/usage/{ => cmd}/addrmap.rst (100%)
>   rename doc/usage/{ => cmd}/askenv.rst (100%)
>   rename doc/usage/{ => cmd}/base.rst (100%)
>   rename doc/usage/{ => cmd}/bootefi.rst (100%)
>   rename doc/usage/{ => cmd}/booti.rst (100%)
>   rename doc/usage/{ => cmd}/bootmenu.rst (100%)
>   rename doc/usage/{ => cmd}/button.rst (100%)
>   rename doc/usage/{x86 => cmd}/cbsysinfo.rst (100%)
>   rename doc/usage/{ => cmd}/conitrace.rst (100%)
>   rename doc/usage/{ => cmd}/echo.rst (100%)
>   rename doc/usage/{ => cmd}/exception.rst (100%)
>   rename doc/usage/{ => cmd}/exit.rst (100%)
>   rename doc/usage/{ => cmd}/extension.rst (100%)
>   rename doc/usage/{ => cmd}/false.rst (100%)
>   rename doc/usage/{ => cmd}/fatinfo.rst (100%)
>   rename doc/usage/{ => cmd}/fatload.rst (100%)
>   rename doc/usage/{ => cmd}/for.rst (100%)
>   rename doc/usage/{ => cmd}/load.rst (100%)
>   rename doc/usage/{ => cmd}/loady.rst (100%)
>   rename doc/usage/{ => cmd}/mbr.rst (100%)
>   rename doc/usage/{ => cmd}/md.rst (100%)
>   rename doc/usage/{ => cmd}/mmc.rst (100%)
>   rename doc/usage/{ => cmd}/pinmux.rst (100%)
>   rename doc/usage/{ => cmd}/pstore.rst (100%)
>   rename doc/usage/{ => cmd}/qfw.rst (100%)
>   rename doc/usage/{ => cmd}/reset.rst (100%)
>   rename doc/usage/{ => cmd}/sbi.rst (100%)
>   rename doc/usage/{ => cmd}/scp03.rst (100%)
>   rename doc/usage/{ => cmd}/setexpr.rst (100%)
>   rename doc/usage/{ => cmd}/sf.rst (100%)
>   rename doc/usage/{ => cmd}/size.rst (100%)
>   rename doc/usage/{ => cmd}/true.rst (100%)
>   rename doc/usage/{ => cmd}/ums.rst (100%)
>
> diff --git a/doc/usage/acpi.rst b/doc/usage/cmd/acpi.rst
> similarity index 100%
> rename from doc/usage/acpi.rst
> rename to doc/usage/cmd/acpi.rst
> diff --git a/doc/usage/addrmap.rst b/doc/usage/cmd/addrmap.rst
> similarity index 100%
> rename from doc/usage/addrmap.rst
> rename to doc/usage/cmd/addrmap.rst
> diff --git a/doc/usage/askenv.rst b/doc/usage/cmd/askenv.rst
> similarity index 100%
> rename from doc/usage/askenv.rst
> rename to doc/usage/cmd/askenv.rst
> diff --git a/doc/usage/base.rst b/doc/usage/cmd/base.rst
> similarity index 100%
> rename from doc/usage/base.rst
> rename to doc/usage/cmd/base.rst
> diff --git a/doc/usage/bootefi.rst b/doc/usage/cmd/bootefi.rst
> similarity index 100%
> rename from doc/usage/bootefi.rst
> rename to doc/usage/cmd/bootefi.rst
> diff --git a/doc/usage/booti.rst b/doc/usage/cmd/booti.rst
> similarity index 100%
> rename from doc/usage/booti.rst
> rename to doc/usage/cmd/booti.rst
> diff --git a/doc/usage/bootmenu.rst b/doc/usage/cmd/bootmenu.rst
> similarity index 100%
> rename from doc/usage/bootmenu.rst
> rename to doc/usage/cmd/bootmenu.rst
> diff --git a/doc/usage/button.rst b/doc/usage/cmd/button.rst
> similarity index 100%
> rename from doc/usage/button.rst
> rename to doc/usage/cmd/button.rst
> diff --git a/doc/usage/x86/cbsysinfo.rst b/doc/usage/cmd/cbsysinfo.rst
> similarity index 100%
> rename from doc/usage/x86/cbsysinfo.rst
> rename to doc/usage/cmd/cbsysinfo.rst
> diff --git a/doc/usage/conitrace.rst b/doc/usage/cmd/conitrace.rst
> similarity index 100%
> rename from doc/usage/conitrace.rst
> rename to doc/usage/cmd/conitrace.rst
> diff --git a/doc/usage/echo.rst b/doc/usage/cmd/echo.rst
> similarity index 100%
> rename from doc/usage/echo.rst
> rename to doc/usage/cmd/echo.rst
> diff --git a/doc/usage/exception.rst b/doc/usage/cmd/exception.rst
> similarity index 100%
> rename from doc/usage/exception.rst
> rename to doc/usage/cmd/exception.rst
> diff --git a/doc/usage/exit.rst b/doc/usage/cmd/exit.rst
> similarity index 100%
> rename from doc/usage/exit.rst
> rename to doc/usage/cmd/exit.rst
> diff --git a/doc/usage/extension.rst b/doc/usage/cmd/extension.rst
> similarity index 100%
> rename from doc/usage/extension.rst
> rename to doc/usage/cmd/extension.rst
> diff --git a/doc/usage/false.rst b/doc/usage/cmd/false.rst
> similarity index 100%
> rename from doc/usage/false.rst
> rename to doc/usage/cmd/false.rst
> diff --git a/doc/usage/fatinfo.rst b/doc/usage/cmd/fatinfo.rst
> similarity index 100%
> rename from doc/usage/fatinfo.rst
> rename to doc/usage/cmd/fatinfo.rst
> diff --git a/doc/usage/fatload.rst b/doc/usage/cmd/fatload.rst
> similarity index 100%
> rename from doc/usage/fatload.rst
> rename to doc/usage/cmd/fatload.rst
> diff --git a/doc/usage/for.rst b/doc/usage/cmd/for.rst
> similarity index 100%
> rename from doc/usage/for.rst
> rename to doc/usage/cmd/for.rst
> diff --git a/doc/usage/load.rst b/doc/usage/cmd/load.rst
> similarity index 100%
> rename from doc/usage/load.rst
> rename to doc/usage/cmd/load.rst
> diff --git a/doc/usage/loady.rst b/doc/usage/cmd/loady.rst
> similarity index 100%
> rename from doc/usage/loady.rst
> rename to doc/usage/cmd/loady.rst
> diff --git a/doc/usage/mbr.rst b/doc/usage/cmd/mbr.rst
> similarity index 100%
> rename from doc/usage/mbr.rst
> rename to doc/usage/cmd/mbr.rst
> diff --git a/doc/usage/md.rst b/doc/usage/cmd/md.rst
> similarity index 100%
> rename from doc/usage/md.rst
> rename to doc/usage/cmd/md.rst
> diff --git a/doc/usage/mmc.rst b/doc/usage/cmd/mmc.rst
> similarity index 100%
> rename from doc/usage/mmc.rst
> rename to doc/usage/cmd/mmc.rst
> diff --git a/doc/usage/pinmux.rst b/doc/usage/cmd/pinmux.rst
> similarity index 100%
> rename from doc/usage/pinmux.rst
> rename to doc/usage/cmd/pinmux.rst
> diff --git a/doc/usage/pstore.rst b/doc/usage/cmd/pstore.rst
> similarity index 100%
> rename from doc/usage/pstore.rst
> rename to doc/usage/cmd/pstore.rst
> diff --git a/doc/usage/qfw.rst b/doc/usage/cmd/qfw.rst
> similarity index 100%
> rename from doc/usage/qfw.rst
> rename to doc/usage/cmd/qfw.rst
> diff --git a/doc/usage/reset.rst b/doc/usage/cmd/reset.rst
> similarity index 100%
> rename from doc/usage/reset.rst
> rename to doc/usage/cmd/reset.rst
> diff --git a/doc/usage/sbi.rst b/doc/usage/cmd/sbi.rst
> similarity index 100%
> rename from doc/usage/sbi.rst
> rename to doc/usage/cmd/sbi.rst
> diff --git a/doc/usage/scp03.rst b/doc/usage/cmd/scp03.rst
> similarity index 100%
> rename from doc/usage/scp03.rst
> rename to doc/usage/cmd/scp03.rst
> diff --git a/doc/usage/setexpr.rst b/doc/usage/cmd/setexpr.rst
> similarity index 100%
> rename from doc/usage/setexpr.rst
> rename to doc/usage/cmd/setexpr.rst
> diff --git a/doc/usage/sf.rst b/doc/usage/cmd/sf.rst
> similarity index 100%
> rename from doc/usage/sf.rst
> rename to doc/usage/cmd/sf.rst
> diff --git a/doc/usage/size.rst b/doc/usage/cmd/size.rst
> similarity index 100%
> rename from doc/usage/size.rst
> rename to doc/usage/cmd/size.rst
> diff --git a/doc/usage/true.rst b/doc/usage/cmd/true.rst
> similarity index 100%
> rename from doc/usage/true.rst
> rename to doc/usage/cmd/true.rst
> diff --git a/doc/usage/ums.rst b/doc/usage/cmd/ums.rst
> similarity index 100%
> rename from doc/usage/ums.rst
> rename to doc/usage/cmd/ums.rst
> diff --git a/doc/usage/index.rst b/doc/usage/index.rst
> index ecb4908fd1..5c5fbf51b8 100644
> --- a/doc/usage/index.rst
> +++ b/doc/usage/index.rst
> @@ -18,40 +18,40 @@ Shell commands
>   .. toctree::
>      :maxdepth: 1
>
> -   acpi
> -   addrmap
> -   askenv
> -   base
> -   bootefi
> -   booti
> -   bootmenu
> -   button
> -   x86/cbsysinfo
> -   conitrace
> -   echo
> -   exception
> -   extension
> -   exit
> -   false
> -   fatinfo
> -   fatload
> -   for
> -   load
> -   loady
> -   mbr
> -   md
> -   mmc
> -   pinmux
> -   pstore
> -   qfw
> -   reset
> -   sbi
> -   sf
> -   scp03
> -   setexpr
> -   size
> -   true
> -   ums
> +   cmd/acpi
> +   cmd/addrmap
> +   cmd/askenv
> +   cmd/base
> +   cmd/bootefi
> +   cmd/booti
> +   cmd/bootmenu
> +   cmd/button
> +   cmd/cbsysinfo
> +   cmd/conitrace
> +   cmd/echo
> +   cmd/exception
> +   cmd/extension
> +   cmd/exit
> +   cmd/false
> +   cmd/fatinfo
> +   cmd/fatload
> +   cmd/for
> +   cmd/load
> +   cmd/loady
> +   cmd/mbr
> +   cmd/md
> +   cmd/mmc
> +   cmd/pinmux
> +   cmd/pstore
> +   cmd/qfw
> +   cmd/reset
> +   cmd/sbi
> +   cmd/sf
> +   cmd/scp03
> +   cmd/setexpr
> +   cmd/size
> +   cmd/true
> +   cmd/ums
>
>   Booting OS
>   ----------



More information about the U-Boot mailing list