mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 14:54:35 +08:00
[examples][network] 更新 TCP/UDP 例程 uage
Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user