Skip to content

Commit 491fe2d

Browse files
committed
memacapable: warn about FLUSH
1 parent 922e14f commit 491fe2d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/bin/memcapable.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,8 @@ int main(int argc, char **argv) {
18681868
"\t\t\tEverything else will start the test\n"
18691869
"\t-T n\tJust run the test named n\n"
18701870
"\t-a\tOnly test the ascii protocol\n"
1871-
"\t-b\tOnly test the binary protocol\n",
1871+
"\t-b\tOnly test the binary protocol\n\n"
1872+
"WARNING: This will FLUSH your server!\n\n",
18721873
argv[0]);
18731874
return EXIT_SUCCESS;
18741875
}
@@ -1879,7 +1880,7 @@ int main(int argc, char **argv) {
18791880
return EXIT_FAILURE;
18801881
}
18811882

1882-
#ifdef _WIN32
1883+
#ifdef _WIN32
18831884
WSADATA wsaData;
18841885
if (WSAStartup(MAKEWORD(2, 2), &wsaData)) {
18851886
fprintf(stderr, "Socket Initialization Error.\n");

0 commit comments

Comments
 (0)