From 491fe2ddf35b2d79c28fc6e4de8c44e834cb680c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 22 Jan 2021 15:10:16 +0100 Subject: [PATCH] memacapable: warn about FLUSH --- src/bin/memcapable.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/memcapable.cc b/src/bin/memcapable.cc index 54e9c224..c57a8951 100644 --- a/src/bin/memcapable.cc +++ b/src/bin/memcapable.cc @@ -1868,7 +1868,8 @@ int main(int argc, char **argv) { "\t\t\tEverything else will start the test\n" "\t-T n\tJust run the test named n\n" "\t-a\tOnly test the ascii protocol\n" - "\t-b\tOnly test the binary protocol\n", + "\t-b\tOnly test the binary protocol\n\n" + "WARNING: This will FLUSH your server!\n\n", argv[0]); return EXIT_SUCCESS; } @@ -1879,7 +1880,7 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } - #ifdef _WIN32 +#ifdef _WIN32 WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData)) { fprintf(stderr, "Socket Initialization Error.\n"); -- 2.30.2