nshlib/netcmds:modify the description of setting MTU
modify the description of setting MTU
Signed-off-by: wangchen <wangchen41@xiaomi.com>
diff --git a/nshlib/README.md b/nshlib/README.md
index 8cdb8ca..23d06b5 100644
--- a/nshlib/README.md
+++ b/nshlib/README.md
@@ -670,7 +670,7 @@
Dump data in hexadecimal format from a file or character device.
-- `ifconfig [nic_name [address_family] [mtu <len>] | [[<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] [dns <dns-address>] [hw <hw-mac>]]`
+- `ifconfig [nic_name [address_family] [[mtu <len>] | [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] [dns <dns-address>] [hw <hw-mac>]]`
Show the current configuration of the network, for example:
diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c
index fa0abe1..a137f4d 100644
--- a/nshlib/nsh_command.c
+++ b/nshlib/nsh_command.c
@@ -255,7 +255,7 @@
#ifdef CONFIG_NET
# ifndef CONFIG_NSH_DISABLE_IFCONFIG
{ "ifconfig", cmd_ifconfig, 1, 12,
- "[interface [address_family] [<ip-address>|dhcp]] | [mtu <len>]"
+ "[interface [address_family] [mtu <len>] | [<ip-address>|dhcp]]"
"[dr|gw|gateway <dr-address>] [netmask <net-mask>|prefixlen <len>] "
"[dns <dns-address>] [hw <hw-mac>]" },
# endif