fix #131: add build time option: CLIENT_PREFIX
[awesomized/libmemcached] / docs / source / bin / memping.rst
index 5a7842996de8a8cc46d4e4831db627c34727c0a6..fc08b27e87926f420c802e211d390db0d3f0def3 100644 (file)
@@ -1,61 +1,47 @@
-===============================================
-memping - Test to see if a server is available.
-===============================================
+memping
+=======
 
-
---------
 SYNOPSIS
 --------
 
-memping [options] [server]
+|client_prefix|\ping [options] [server]
 
 .. program:: memping
 
+Test for availability of a server
 
------------
 DESCRIPTION
 -----------
 
+:program:`memping` can be used to ping a memcached server to see if it is accepting connections.
 
-:program:`memping` can be used to ping a memcached server to see if it is taking connections.
-
--------
 OPTIONS
 -------
 
+.. include:: options/all.rst
+.. include:: options/common.rst
+.. include:: options/sasl.rst
 
-You can specify servers via the option:
-
-.. option:: --servers
-
-or via the environment variable:
-
-.. envvar:: `MEMCACHED_SERVERS`
+.. option:: -s|--servers <list of servers>
 
-If you do not specify either these, the final value in the command line list is the name of a server(s).
+    Specify the list of servers as *hostname[:port][,hostname[:port]...]*.
 
-For a full list of operations run the tool with the option:
 
-.. option:: --help
+.. include:: common/env.rst
 
+NOTES
+-----
 
-----
-HOME
-----
-
-
-To find out more information please check:
-`http://libmemcached.org/ <http://libmemcached.org/>`_
+.. include:: common/note_program_prefix.rst
 
+SEE ALSO
+--------
 
-------
-AUTHOR
-------
+.. only:: man
 
-Brian Aker, <brian@tangent.org>
+  :manpage:`memcached(1)`
+  :manpage:`libmemcached(3)`
 
---------
-SEE ALSO
---------
+.. only:: html
 
-:manpage:`memcached(1)` :manpage:`libmemcached(3)`
+* :doc:`/libmemcached`