memacapable: warn about FLUSH
[awesomized/libmemcached] / src / bin / memcapable.cc
index a95fc1d10ee5827d3ca294fce0b1f0ed8d2cd240..c57a89513f6aa0a3d5d4178b46e17e0b63c890ce 100644 (file)
@@ -36,8 +36,8 @@
 #include "p9y/socket.hpp"
 #include "p9y/poll.hpp"
 
-#include "libmemcached-1/memcached.h"
-#include "libmemcachedprotocol-0/binary.h"
+#include "libmemcached-1.0/memcached.h"
+#include "libmemcachedprotocol-0.0/binary.h"
 #include "libmemcached/byteorder.h"
 
 #include <vector>
@@ -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");