From: Michael Wallner Date: Fri, 22 Jan 2021 14:10:16 +0000 (+0100) Subject: memacapable: warn about FLUSH X-Git-Tag: 1.1.0-beta3~12 X-Git-Url: https://git.m6w6.name/?p=awesomized%2Flibmemcached;a=commitdiff_plain;h=491fe2ddf35b2d79c28fc6e4de8c44e834cb680c memacapable: warn about FLUSH --- 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");