> released TBA
-* Fix [gh #132](https://github.com/awesomized/libmemcached/issues/132):
+* Fix [gh #107](https://github.com/awesomized/libmemcached/issues/107):
macOS: deprecated sasl API (improve detection of `libsasl2`).
* Fix [gh #132](https://github.com/awesomized/libmemcached/issues/132):
Add build of static library (with `cmake -DBUILD_SHARED_LIBS=OFF`).
+* Fix [gh #134](https://github.com/awesomized/libmemcached/issues/134):
+ Update client option documentation.
* Fix [gh #136](https://github.com/awesomized/libmemcached/issues/136):
`libmemcachedutil` is underlinked (link against libmemcached).
-* Fix `gh #132 <https://github.com/awesomized/libmemcached/issues/132>`_\ :
+* Fix `gh #107 <https://github.com/awesomized/libmemcached/issues/107>`_\ :
macOS: deprecated sasl API (improve detection of ``libsasl2``\ ).
* Fix `gh #132 <https://github.com/awesomized/libmemcached/issues/132>`_\ :
Add build of static library (with ``cmake -DBUILD_SHARED_LIBS=OFF``\ ).
+* Fix `gh #134 <https://github.com/awesomized/libmemcached/issues/134>`_\ :
+ Update client option documentation.
* Fix `gh #136 <https://github.com/awesomized/libmemcached/issues/136>`_\ :
``libmemcachedutil`` is underlinked (link against libmemcached).
.. program:: memaslap
.. option:: --help
+.. option:: --servers
.. envvar:: MEMCACHED_SERVERS
connections in each thread. Each connection keeps key size distribution,
value size distribution, and command distribution by itself.
-You can specify servers via the :option:`memslap --servers` option or via the
+You can specify servers via the :option:`memaslap --servers` option or via the
environment variable :envvar:`MEMCACHED_SERVERS`.
FEATURES
memaslap -s 127.0.0.1:11211,127.0.0.1:11212 -F config -t 2m -p 2
+NOTE
+----
+
+This is a contributed program.
+
+This program doesn't follow the standard flag/option scheme.
+
+
SEE ALSO
--------
Set the timeout for an IO operation to/from the server to \ *n*\ seconds.
+NOTE
+----
+
+This program doesn't follow the standard flag/option scheme.
+
+
SEE ALSO
--------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
+.. include:: options/common_get.rst
+.. include:: options/flags_noarg.rst
.. include:: options/hash.rst
-
-.. option:: --flag
-
- Display stored flags.
+.. include:: options/file_out.rst
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/expire.rst
-.. include:: options/flag.rst
-.. include:: options/hash.rst
-.. include:: options/sasl.rst
+.. include:: options/common_set.rst
+.. include:: /bin/options/flags_reqarg.rst
.. include:: options/udp.rst
-.. option:: --buffer
-
- Enable internal buffering of commands.
-
-.. option:: --set
+.. option:: -S|--set
Issue *SET* command(s). This is the default mode.
- See also :option:`--add` and :option:`--replace`.
+ See also :option:`-A|--add` and :option:`-R|--replace`.
-.. option:: --add
+.. option:: -A|--add
Issue *ADD* command(s).
-.. option:: --replace
+.. option:: -R|--replace
Issue *REPLACE* command(s).
+.. option:: -.|--basename
+
+ Use basename of path as key (default).
+
+.. option:: -+|--relative
+
+ Use relative path (as passed), instead of basename only.
+
+.. option:: -/|--absolute
+
+ Use absolute path (real path), instead of basename only.
+
+
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/hash.rst
-.. include:: options/sasl.rst
-
+.. include:: options/common_get.rst
+.. include:: options/file_out.rst
+
ENVIRONMENT
-----------
-------
.. include:: options/all.rst
+.. include:: options/common.rst
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
+.. include:: options/common_get.rst
.. include:: options/hash.rst
-.. include:: options/sasl.rst
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/sasl.rst
+.. include:: options/common_get.rst
.. include:: options/expire.rst
.. note::
.. include:: options/common.rst
.. include:: options/sasl.rst
+.. option:: -s|--servers <list of servers>
+
+ Specify the list of servers as *hostname[:port][,hostname[:port]...]*.
+
+
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/hash.rst
-.. include:: options/sasl.rst
+.. include:: options/common_set.rst
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
+.. include:: options/common_get.rst
+.. include:: options/hash.rst
+.. include:: options/udp.rst
+
+.. option:: -R|--noreply
+
+ Enable the NOREPLY behavior for storage commands.
+
+.. option:: -F|--flush
+
+ Flush all servers prior test.
+
+.. option:: -t|--test <arg>
+
+ Test to perform (options: get, mget, set; default: get).
+
+.. option:: -c|--concurrency <num>
+
+ Concurrency (number of threads to start; default: 1).
+
+.. option:: -e|--execute-number <num>
+
+ Number of times to execute the tests (default: 10000).
+
+.. option:: -l|--initial-load <num>
+
+ Number of keys to load before executing tests (default: 10000).
+
ENVIRONMENT
-----------
SYNOPSIS
--------
-memstat [options]
+memstat [options] [stat args]
.. program:: memstat
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/sasl.rst
+.. include:: options/common_get.rst
-.. option:: --analyze
+.. option:: -A|--args <stat>
- Analyze and print differences of a server cluster. A memory and uptime comparison is performed by default.
+ Stat args.
- Available additional modes:
+ **DEPRECATED:** use positional arguments.
- --analyze=latency
- Network latency comparison
+.. option:: -a|--analyze [<arg>]
+
+ Analyze and print differences of a server cluster.
+ A memory and uptime comparison is performed by default.
+ Options:
+
+ --analyze[=default]
+ Memory and uptime comparison.
+ --analyze=latency
+ Network latency comparison.
-.. option:: --server-version
+.. option:: -S|-server-version
Obtain and print server version(s) only.
+.. option:: --iterations
+
+ Iteration count of GETs sent by the latency test (default: 1000).
+
+
ENVIRONMENT
-----------
OPTIONS
-------
-.. include:: options/all.rst
-.. include:: options/common.rst
-.. include:: options/expire.rst
+.. include:: options/common_get.rst
.. include:: options/hash.rst
-.. include:: options/sasl.rst
+.. include:: options/expire.rst
SEE ALSO
--------
-.. option:: --help
+.. option:: -h|--help
Display help.
-.. option:: --version
+.. option:: -V|--version
Display version.
-.. option:: --quiet
+.. option:: -q|--quiet
Operate quietly.
-.. option:: --verbose
+.. option:: -v|--verbose
Operate more verbosely.
-.. option:: --debug
-
- See :option:`--verbose`.
-
-.. option:: --servers <list of servers>
-
- Specify the list of servers as *hostname[:port][,hostname[:port]...]*.
-
-.. option:: --binary
-
- Enable binary protocol.
+.. option:: -d|--debug
+ See :option:`-v\|--verbose`.
--- /dev/null
+
+.. include:: /bin/options/all.rst
+.. include:: /bin/options/common.rst
+.. include:: /bin/options/net.rst
+.. include:: /bin/options/proto.rst
+.. include:: /bin/options/sasl.rst
--- /dev/null
+
+.. include:: /bin/options/all.rst
+.. include:: /bin/options/common.rst
+.. include:: /bin/options/expire.rst
+.. include:: /bin/options/hash.rst
+.. include:: /bin/options/net.rst
+.. include:: /bin/options/proto.rst
+.. include:: /bin/options/sasl.rst
-.. option:: --expire <expiration>
+.. option:: -e|--expire <expiration>
Use *expiration* seconds (or a UNIX timestamp).
--- /dev/null
+
+.. option:: -f|--file [<file>]
+
+ Output to file instead of standard output.
+
+ *NOTE:* defaults to <key> if no argument was provided.
+++ /dev/null
-.. option:: --flag <number>
-
- Use *number* as flag.
-
--- /dev/null
+.. option:: -F|--flags
+
+ Display key's flags.
+
--- /dev/null
+.. option:: -F|--flags <number>
+
+ Use *number* as key's flags.
+
-.. option:: --hash <algorithm>
+.. option:: -H|--hash <algorithm>
Use *algorithm* as key hash algo.
See :enumerator:`memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH`.
--- /dev/null
+
+.. option:: -s|--servers <list of servers>
+
+ Specify the list of servers as *hostname[:port][,hostname[:port]...]*.
+
+.. option:: -n|--non-blocking
+
+ Enable non-blocking operations.
+
+.. option:: -N|--tcp-nodelay
+
+ Disable Nagle's algorithm.
--- /dev/null
+
+.. option:: -b|--binary
+
+ Enable binary protocol.
+
+.. option:: -B|--buffer
+
+ Buffer requests.
-.. option:: --username <username>
+.. option:: -u|--username <username>
Use *username* for SASL authentication.
-.. option:: --password <password>
+.. option:: -p|--password <password>
Use *password* for SASL authentication.
-.. option:: --udp
+.. option:: -U|--udp
Enable UDP operation mode.