X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Futilities.cc;h=5f5958e2a193dbe8e15fe161e2a32c10067d1e38;hb=da856edbc3fadaa1a1113d4f3a336c8374c81e46;hp=58717a94c5b10f4c0601987839107bee2d92f398;hpb=d2e05058ca75cce6575dd2ee49e7743200581955;p=m6w6%2Flibmemcached diff --git a/clients/utilities.cc b/clients/utilities.cc index 58717a94..5f5958e2 100644 --- a/clients/utilities.cc +++ b/clients/utilities.cc @@ -1,4 +1,5 @@ /* LibMemcached + * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker * All rights reserved. * @@ -8,11 +9,12 @@ * Summary: * */ -#include +#include #include #include +#include #include #include #include @@ -97,14 +99,17 @@ static const char *lookup_help(memcached_options option) 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."); + case OPT_BUFFER: return("Enable request buffering."); case OPT_USERNAME: return "Username to use for SASL authentication"; case OPT_PASSWD: return "Password to use for SASL authentication"; case OPT_FILE: return "Path to file in which to save result"; case OPT_STAT_ARGS: return "Argument for statistics"; - default: WATCHPOINT_ASSERT(0); + case OPT_SERVER_VERSION: return "Memcached daemon software version"; + default: + break; }; - WATCHPOINT_ASSERT(0); + assert(0); return "forgot to document this function :)"; }