diff mbox series

dm: fix alignment of help message of "dm" command

Message ID 1536319881-15128-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 138c8a75620702ff0a7bb08147d5b98c0ddb5d1b
Headers show
Series dm: fix alignment of help message of "dm" command | expand

Commit Message

Masahiro Yamada Sept. 7, 2018, 11:31 a.m. UTC
Currently, "help dm" shows as follows:

=> help dm
dm - Driver model low level access

Usage:
dm tree         Dump driver model tree ('*' = activated)
dm uclass        Dump list of instances for each uclass
dm devres        Dump list of device resources for each device

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 test/dm/cmd_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Sept. 7, 2018, 1:17 p.m. UTC | #1
On Fri, Sep 7, 2018 at 7:32 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Currently, "help dm" shows as follows:
>
> => help dm
> dm - Driver model low level access
>
> Usage:
> dm tree         Dump driver model tree ('*' = activated)
> dm uclass        Dump list of instances for each uclass
> dm devres        Dump list of device resources for each device
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  test/dm/cmd_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Simon Glass Sept. 28, 2018, 3:55 p.m. UTC | #2
On 7 September 2018 at 06:17, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Fri, Sep 7, 2018 at 7:32 PM Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>>
>> Currently, "help dm" shows as follows:
>>
>> => help dm
>> dm - Driver model low level access
>>
>> Usage:
>> dm tree         Dump driver model tree ('*' = activated)
>> dm uclass        Dump list of instances for each uclass
>> dm devres        Dump list of device resources for each device
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> ---
>>
>>  test/dm/cmd_dm.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, and now in mainline, thanks!
diff mbox series

Patch

diff --git a/test/dm/cmd_dm.c b/test/dm/cmd_dm.c
index 624fc82..7b271db 100644
--- a/test/dm/cmd_dm.c
+++ b/test/dm/cmd_dm.c
@@ -82,7 +82,7 @@  static int do_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(
 	dm,	3,	1,	do_dm,
 	"Driver model low level access",
-	"tree         Dump driver model tree ('*' = activated)\n"
+	"tree          Dump driver model tree ('*' = activated)\n"
 	"dm uclass        Dump list of instances for each uclass\n"
 	"dm devres        Dump list of device resources for each device"
 );