docs: Adding manpages for the command-line tools
Change-Id: I3eba0d125f7da51696342edce1a2f1ee33a0471a
refs: #1446
diff --git a/docs/manpages/ndn-autoconfig-server.rst b/docs/manpages/ndn-autoconfig-server.rst
index 923347b..8ed7968 100644
--- a/docs/manpages/ndn-autoconfig-server.rst
+++ b/docs/manpages/ndn-autoconfig-server.rst
@@ -1,19 +1,41 @@
+.. _ndn-autoconfig-server:
+
ndn-autoconfig-server
=====================
-Synopsis
---------
+Usage
+-----
::
- ndn-autoconfig-server [-h] Uri
+ ndn-autoconfig-server [-h] FaceUri
Description
-----------
+``ndn-autoconfig-server`` is a daemon that implements server part for the stage 1 of
+:ref:`NDN hub discovery procedure`.
+
+This daemon essentially waits for Interests for ``/localhop/ndn-autoconf/hub`` and
+satisfies them with a Data packet that contains TLV-encoded FaceUri block. The value of
+this block is the ``Uri`` for the HUB, preferrably a UDP tunnel.
+
+``-h``
+ print usage and exit.
+
+``FaceUri``
+ FaceUri for this NDN hub.
+
+Examples
+--------
+
::
- -h print usage and exit
+ ndn-autoconfig-server tcp://spurs.cs.ucla.edu
- Uri - a FaceMgmt URI
+
+See also
+--------
+
+:ref:`ndn-autoconfig`