Turned on more warnings, and fixed the errors. Moved common.h, which includes
[awesomized/libmemcached] / clients / utilities.c
index 1e8e89d70a0a50671fdd87dfa16ab96e2328516a..b9795246539156792616a4824658417d2aaa95f9 100644 (file)
@@ -1,3 +1,4 @@
+#include "libmemcached/common.h"
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
@@ -44,6 +45,8 @@ static char *lookup_help(memcached_options option)
   case OPT_FLUSH: return("Flush servers before running tests.");
   case OPT_HASH: return("Select hash type.");
   case OPT_BINARY: return("Switch to binary protocol.");
+  case OPT_ANALYZE: return("Analyze the provided servers.");
+  case OPT_UDP: return("Use UDP protocol when communicating with server.");
   };
 
   WATCHPOINT_ASSERT(0);