projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix bug in calling parse_opt_servers
[m6w6/libmemcached]
/
src
/
client_options.h
diff --git
a/src/client_options.h
b/src/client_options.h
index 354b2736619c9b932541275dcc533dc8ca9dbb89..204135aa8097445bbae63e735c29cd1f80c7b198 100644
(file)
--- a/
src/client_options.h
+++ b/
src/client_options.h
@@
-1,8
+1,12
@@
typedef enum {
typedef enum {
- OPT_SERVERS= 1,
- OPT_VERSION,
- OPT_HELP,
- OPT_VERBOSE,
- OPT_DEBUG,
- OPT_FLAG,
+ OPT_SERVERS= 's',
+ OPT_VERSION= 'V',
+ OPT_HELP= 'h',
+ OPT_VERBOSE= 'v',
+ OPT_DEBUG= 'd',
+ OPT_FLAG= 257,
+ OPT_EXPIRE,
+ OPT_SET,
+ OPT_REPLACE,
+ OPT_ADD,
} memcached_options;
} memcached_options;