diff --git a/src/webclient_file.c b/src/webclient_file.c index de6ad70..08d30e6 100644 --- a/src/webclient_file.c +++ b/src/webclient_file.c @@ -280,7 +280,7 @@ int wget(int argc, char** argv) { if (argc != 3) { - LOG_E("wget [URI] [filename] -get file by URI."); + rt_kprintf("Please using: wget "); return -1; } @@ -290,7 +290,7 @@ int wget(int argc, char** argv) #ifdef FINSH_USING_MSH #include -MSH_CMD_EXPORT(wget, web download file); +MSH_CMD_EXPORT(wget, Get file by URI: wget .); #endif /* FINSH_USING_MSH */ #endif /* RT_USING_DFS */