Make the exit status consistent across all programs
(except nfdc)
Change-Id: Ia3edb11b3f4284df5db8279b06e6fb708ae454e9
diff --git a/docs/manpages/nfd.rst b/docs/manpages/nfd.rst
index 0fa0ef8..b87c0f3 100644
--- a/docs/manpages/nfd.rst
+++ b/docs/manpages/nfd.rst
@@ -8,25 +8,37 @@
nfd [options]
-
Description
-----------
NFD forwarding daemon.
+Options
+-------
-Options:
---------
-
-``--help``
- Print this help message.
-
-``--modules``
- List available logging modules
-
-``--config <path/to/nfd.conf>``
+``-c <path/to/nfd.conf>`` or ``--config <path/to/nfd.conf>``
Specify the path to nfd configuration file (default: ``${SYSCONFDIR}/ndn/nfd.conf``).
+``-m`` or ``--modules``
+ List available logging modules.
+
+``-h`` or ``--help``
+ Print help message and exit.
+
+``-V`` or ``--version``
+ Show version information and exit.
+
+Exit status
+-----------
+
+0: No error.
+
+1: An unspecified error occurred.
+
+2: Malformed command line, e.g., invalid, missing, or unknown argument.
+
+4: Insufficient privileges.
+
Examples
--------