Make the exit status consistent across all programs
(except nfdc)
Change-Id: Ia3edb11b3f4284df5db8279b06e6fb708ae454e9
diff --git a/docs/manpages/ndn-autoconfig-server.rst b/docs/manpages/ndn-autoconfig-server.rst
index 14525e3..d5b14d7 100644
--- a/docs/manpages/ndn-autoconfig-server.rst
+++ b/docs/manpages/ndn-autoconfig-server.rst
@@ -10,7 +10,6 @@
ndn-autoconfig-server [-h] [-p <PREFIX>] [-p <PREFIX>] ... <FACEURI>
-
Description
-----------
@@ -21,9 +20,6 @@
satisfies them with a Data packet that contains a TLV-encoded FaceUri block. The value of
this block is the ``Uri`` for the HUB, preferably a UDP tunnel.
-``-h``
- print usage and exit.
-
``<FACEURI>``
FaceUri for this NDN hub.
@@ -34,6 +30,23 @@
as described in :ref:`local-prefix-discovery`. If no prefix is specified,
auto-config-server will not serve any local prefix discovery data.
+``-h``
+ Print usage and exit.
+
+``-V``
+ Print version number 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
--------
@@ -43,7 +56,6 @@
ndn-autoconfig-server -p /ndn/edu/ucla tcp://spurs.cs.ucla.edu
-
See also
--------