mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[examples][network] 更新 TCP/UDP 例程 uage
Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
@@ -160,15 +160,15 @@ __exit:
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
LOG_I("Usage: tcpclient -h <host> -p <port>");
|
||||
LOG_I(" tcpclient --stop");
|
||||
LOG_I(" tcpclient --help");
|
||||
LOG_I("");
|
||||
LOG_I("Miscellaneous:");
|
||||
LOG_I(" -h Specify host address");
|
||||
LOG_I(" -p Specify the host port number");
|
||||
LOG_I(" --stop Stop tcpclient program");
|
||||
LOG_I(" --help Print help information");
|
||||
rt_kprintf("Usage: tcpclient -h <host> -p <port>\n");
|
||||
rt_kprintf(" tcpclient --stop\n");
|
||||
rt_kprintf(" tcpclient --help\n");
|
||||
rt_kprintf("\n");
|
||||
rt_kprintf("Miscellaneous:\n");
|
||||
rt_kprintf(" -h Specify host address\n");
|
||||
rt_kprintf(" -p Specify the host port number\n");
|
||||
rt_kprintf(" --stop Stop tcpclient program\n");
|
||||
rt_kprintf(" --help Print help information\n");
|
||||
}
|
||||
|
||||
static void tcpclient_test(int argc, char** argv)
|
||||
|
||||
Reference in New Issue
Block a user