You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/18 05:39:22 UTC
[incubator-nuttx-apps] branch master updated: nshlib: Fix a few
strange whitespace in command help text
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e1d9e82 nshlib: Fix a few strange whitespace in command help text
e1d9e82 is described below
commit e1d9e82273db4786ede71caac77cffa14e5690dd
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Mar 18 14:01:48 2020 +0900
nshlib: Fix a few strange whitespace in command help text
---
nshlib/nsh_command.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c
index acd7d8e..c5531eb 100644
--- a/nshlib/nsh_command.c
+++ b/nshlib/nsh_command.c
@@ -304,7 +304,7 @@ static const struct cmdmap_s g_cmdmap[] =
#ifndef CONFIG_NSH_DISABLE_MB
{ "mb", cmd_mb, 2, 3,
- "<hex-address>[=<hex-value>][ <hex-byte-count>]" },
+ "<hex-address>[=<hex-value>] [<hex-byte-count>]" },
#endif
#if defined(CONFIG_NETUTILS_CODECS) && defined(CONFIG_CODECS_HASH_MD5)
@@ -354,7 +354,7 @@ static const struct cmdmap_s g_cmdmap[] =
#ifndef CONFIG_NSH_DISABLE_MH
{ "mh", cmd_mh, 2, 3,
- "<hex-address>[=<hex-value>][ <hex-byte-count>]" },
+ "<hex-address>[=<hex-value>] [<hex-byte-count>]" },
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_READABLE)
@@ -377,7 +377,7 @@ static const struct cmdmap_s g_cmdmap[] =
#ifndef CONFIG_NSH_DISABLE_MW
{ "mw", cmd_mw, 2, 3,
- "<hex-address>[=<hex-value>][ <hex-byte-count>]" },
+ "<hex-address>[=<hex-value>] [<hex-byte-count>]" },
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_NET) && \