Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached] / docs / source / bin / memexist.rst
index c8542ac8f87bca67859f2ff767c4bf1931f0ac77..85b7fd08325fed4777df9f4a8b4bd1b263e76168 100644 (file)
@@ -1,40 +1,42 @@
-===========================================
-memexist - Check for the existence of a key
-===========================================
+memexist
+========
 
 SYNOPSIS
 --------
 
-memexist [options] [key]
-
 .. program:: memexist
 
+|client_prefix|\exist [options] <key>
+
+Check for the existence of a key.
+
 DESCRIPTION
 -----------
 
-:program:`memexist` checks for the existance of a key within a cluster.
+:program:`memexist` checks for the existence of a key within a cluster.
 
 OPTIONS
 -------
 
-You can specify servers via the option:
-
-.. option:: --servers
+.. include:: options/common_get.rst
+.. include:: options/hash.rst
 
-or via the environment variable:
+.. include:: common/env.rst
 
-.. envvar:: `MEMCACHED_SERVERS`
+NOTES
+-----
 
-If you do not specify either these, the final value in the command line list is the name of a server(s).
-
-For a full list of operations run the tool with the option:
-
-.. option:: --help
+.. include:: common/note_program_prefix.rst
 
 SEE ALSO
 --------
 
 .. only:: man
 
-  :manpage:`memcached(1)` :manpage:`libmemcached(3)`
+    :manpage:`memcached(1)`
+    :manpage:`libmemcached(3)`
+
+.. only:: html
 
+    * :doc:`/libmemcached`
+    * :doc:`/libmemcached/memcached_exist`