docs: Adding manpages for the command-line tools
Change-Id: I3eba0d125f7da51696342edce1a2f1ee33a0471a
refs: #1446
diff --git a/docs/manpages/nfd.rst b/docs/manpages/nfd.rst
index 6ebef97..0fa0ef8 100644
--- a/docs/manpages/nfd.rst
+++ b/docs/manpages/nfd.rst
@@ -1,8 +1,8 @@
nfd
===
-Synopsis
---------
+Usage
+-----
::
@@ -12,8 +12,27 @@
Description
-----------
+NFD forwarding daemon.
+
+
+Options:
+--------
+
+``--help``
+ Print this help message.
+
+``--modules``
+ List available logging modules
+
+``--config <path/to/nfd.conf>``
+ Specify the path to nfd configuration file (default: ``${SYSCONFDIR}/ndn/nfd.conf``).
+
+Examples
+--------
+
+Start NFD forwarding daemon as super user and use a configuration file from the current
+working directory.
+
::
- [--help] - print this help message
- [--modules] - list available logging modules
- [--config /path/to/nfd.conf] - path to configuration file (default: /usr/local/etc/ndn/nfd.conf)
+ sudo nfd --config nfd.conf