[examples][network] 更新 TCP/UDP 例程 uage

Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
MurphyZhao
2018-11-06 09:46:20 +08:00
parent b2d4dd0ba7
commit e9c795e8bc
4 changed files with 35 additions and 35 deletions
+8 -8
View File
@@ -197,14 +197,14 @@ __exit:
static void usage(void)
{
LOG_I("Usage: tcpserver -p <port>");
LOG_I(" tcpserver --stop");
LOG_I(" tcpserver --help");
LOG_I("");
LOG_I("Miscellaneous:");
LOG_I(" -p Specify the host port number");
LOG_I(" --stop Stop tcpserver program");
LOG_I(" --help Print help information");
rt_kprintf("Usage: tcpserver -p <port>\n");
rt_kprintf(" tcpserver --stop\n");
rt_kprintf(" tcpserver --help\n");
rt_kprintf("\n");
rt_kprintf("Miscellaneous:\n");
rt_kprintf(" -p Specify the host port number\n");
rt_kprintf(" --stop Stop tcpserver program\n");
rt_kprintf(" --help Print help information\n");
}
static void tcpserver_test(int argc, char** argv)