diff options
| author | MurphyZhao <[email protected]> | 2018-11-06 09:45:31 +0800 |
|---|---|---|
| committer | MurphyZhao <[email protected]> | 2018-11-06 09:46:20 +0800 |
| commit | e9c795e8bc09457f2901e159251a1777cd9a6add (patch) | |
| tree | 9d32a2a6cfcdd5b32e41954563628ffefe7ffead /examples/network/tcpclient.c | |
| parent | b2d4dd0ba757e55e1eecdc887fe5aebc93c5e636 (diff) | |
[examples][network] 更新 TCP/UDP 例程 uage
Signed-off-by: MurphyZhao <[email protected]>
Diffstat (limited to 'examples/network/tcpclient.c')
| -rw-r--r-- | examples/network/tcpclient.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/network/tcpclient.c b/examples/network/tcpclient.c index 793c71258a..d4c96f893a 100644 --- a/examples/network/tcpclient.c +++ b/examples/network/tcpclient.c @@ -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) |
