Skip to content

Commit

Permalink
netconsd: fix up some wrong arguments
Browse files Browse the repository at this point in the history
Summary: SSIA

Reviewed By: alastor-erinyes

Differential Revision: D31092062

fbshipit-source-id: dbd29268b4558abba9f8a934e9c356a23851478d
  • Loading branch information
kernelslacker authored and facebook-github-bot committed Oct 7, 2021
1 parent 380ecde commit 7409f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ make invocation. All the above targets should build with both clang and gcc.
### Setting up the server

By default, netconsd will use 1 listener and 2 worker threads, and listen on
port 1514 for messages. You can use "-l", "-w", and "-p" respectively to change
port 1514 for messages. You can use "-l", "-w", and "-u" respectively to change
the defaults.

There's no universal wisdom about how many threads to use: just experiment with
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void parse_arguments(int argc, char **argv, struct netconsd_params *p)
goto done;
case 'h':
printf("Usage: %s [-w workers] [-l listeners] "
"[-b mmsg_batch] [-p udp_listen_addr] [-u udp_listen_port] "
"[-b mmsg_batch] [-a udp_listen_addr] [-u udp_listen_port] "
"[-g '${interval}/${age}'] [output module path] "
"[another output module path...]\n", argv[0]);
exit(0);
Expand Down

0 comments on commit 7409f2b

Please sign in to comment.