small fix: command line arguments

Oleksandr V. Typlyns'kyi astral at sputnikmedia.net
Thu Mar 22 14:19:39 UTC 2007


Hello.
We are start moving to memcached from our own cache engine. I tried to use
"-s" argument from man page and find out that it was renamed to "-s".
So I'ld like to propose humble small fix...

*** memcached.c.orig    Tue Dec  5 11:34:10 2006
--- memcached.c Thu Mar 22 03:25:00 2007
***************
*** 2252,2254 ****
      /* process arguments */
!     while ((c = getopt(argc, argv, "bp:s:U:m:Mc:khirvdl:u:P:f:s:")) != -1) {
          switch (c) {
--- 2252,2254 ----
      /* process arguments */
!     while ((c = getopt(argc, argv, "bp:s:U:m:Mc:khirvdl:u:P:f:n:")) != -1) {
          switch (c) {


*** doc/memcached.1.orig    Sun Sep  3 06:17:54 2006
--- doc/memcached.1 Thu Mar 22 03:26:36 2007
***************
*** 63,65 ****
  .TP
! .B \-s <size>
  Allocate a minimum of <size> bytes for the item key, value, and flags. The
--- 63,65 ----
  .TP
! .B \-n <size>
  Allocate a minimum of <size> bytes for the item key, value, and flags. The

-- 
WNGS-RIPE
KP Media / bigmir)net


More information about the memcached mailing list