From: Trond Norbye Date: Thu, 15 Apr 2010 04:35:59 +0000 (-0700) Subject: Fixed -p. Seems that we lost the ':' in there removing the ability to specify the... X-Git-Tag: 0.40~8^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=70689ed268adf37aec401aaadd8597f5c2de44c0;p=m6w6%2Flibmemcached Fixed -p. Seems that we lost the ':' in there removing the ability to specify the port --- diff --git a/example/memcached_light.c b/example/memcached_light.c index c059f708..e2689e03 100644 --- a/example/memcached_light.c +++ b/example/memcached_light.c @@ -355,7 +355,7 @@ int main(int argc, char **argv) */ initialize_interface_v0_handler(); - while ((cmd= getopt(argc, argv, "v1pP:?hc:")) != EOF) + while ((cmd= getopt(argc, argv, "v1p:P:?hc:")) != EOF) { switch (cmd) { case '1':