Skip to content

Commit

Permalink
update --help for UDP default
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Mar 2, 2018
1 parent ff170b3 commit 71af971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/memcached.1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ suggestions.
Listen on TCP port <num>, the default is port 11211.
.TP
.B \-U, --udp-port=<num>
Listen on UDP port <num>, the default is port 11211, 0 is off.
Listen on UDP port <num>, the default is port 0, which is off.
.TP
.B \-M, --disable-evictions
Disable automatic removal of items from the cache when out of memory.
Expand Down
2 changes: 1 addition & 1 deletion memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -6156,7 +6156,7 @@ static void clock_handler(const int fd, const short which, void *arg) {
static void usage(void) {
printf(PACKAGE " " VERSION "\n");
printf("-p, --port=<num> TCP port to listen on (default: 11211)\n"
"-U, --udp-port=<num> UDP port to listen on (default: 11211, 0 is off)\n"
"-U, --udp-port=<num> UDP port to listen on (default: 0, off)\n"
"-s, --unix-socket=<file> UNIX socket to listen on (disables network support)\n"
"-A, --enable-shutdown enable ascii \"shutdown\" command\n"
"-a, --unix-mask=<mask> access mask for UNIX socket, in octal (default: 0700)\n"
Expand Down

0 comments on commit 71af971

Please sign in to comment.