mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
netcat: Fix the usage output
This commit is contained in:
parent
bb620bb95c
commit
8093aa7487
1 changed files with 2 additions and 1 deletions
|
|
@ -215,7 +215,8 @@ int main(int argc, FAR char *argv[])
|
|||
if (2 > argc)
|
||||
{
|
||||
fprintf(stderr,
|
||||
"Usage: netcat [-l] [destination] [port] [file]\n");
|
||||
"Usage: netcat <destination> [port] [file]\n"
|
||||
"Usage: netcat -l [port] [file]\n");
|
||||
}
|
||||
else if ((1 < argc) && (0 == strcmp("-l", argv[1])))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue