docs: reformat man pages to improve consistency and readability
Change-Id: I4f9afbc73c365dfa31eb6cd1e4a48368b6a9064f
diff --git a/docs/manpages/nfd-status-http-server.rst b/docs/manpages/nfd-status-http-server.rst
index 5dc4b0c..c7ee6f6 100644
--- a/docs/manpages/nfd-status-http-server.rst
+++ b/docs/manpages/nfd-status-http-server.rst
@@ -4,38 +4,52 @@
Synopsis
--------
-**nfd-status-http-server** [**-h**] [**-a** *IPADDR*] [**-p** *PORT*] [**-r**] [**-v**]
+| **nfd-status-http-server** [**-a**\|\ **\--address** *address*] [**-p**\|\ **\--port** *port*] \
+ [**-f**\|\ **\--workdir** *dir*] [**-r**\|\ **\--robots**] [**-v**\|\ **\--verbose**]
+| **nfd-status-http-server** **-h**\|\ **\--help**
+| **nfd-status-http-server** **-V**\|\ **\--version**
Description
-----------
-``nfd-status-http-server`` is a daemon that enables the retrieval of NFD's status over HTTP.
+:program:`nfd-status-http-server` is a daemon that enables the retrieval of NFD's status over HTTP.
Options
-------
-``-h``
- Show help message and exit.
+.. option:: -a <address>, --address <address>
-``-a <IPADDR>``
- HTTP server IP address (default is 127.0.0.1).
+ HTTP server IP address (default is 127.0.0.1).
-``-p <PORT>``
- HTTP server port number (default is 6380).
+.. option:: -p <port>, --port <port>
-``-r``
- Enable HTTP robots to crawl (disabled by default).
+ HTTP server port number (default is 6380).
-``-v``
- Verbose mode.
+.. option:: -f <dir>, --workdir <dir>
+
+ Set the server's working directory.
+
+.. option:: -r, --robots
+
+ Enable HTTP robots to crawl (disabled by default).
+
+.. option:: -v, --verbose
+
+ Enable verbose mode.
+
+.. option:: -h, --help
+
+ Print help message and exit.
+
+.. option:: -V, --version
+
+ Show version information and exit.
Examples
--------
-Start NFD's HTTP status server on all IPv4 interfaces, port 80 (requires root)::
+``nfd-status-http-server -a 0.0.0.0 -p 80``
+ Start NFD's HTTP status server on all IPv4 interfaces, port 80 (requires privileges).
- nfd-status-http-server -a 0.0.0.0 -p 80
-
-Start NFD's HTTP status server on all IPv6 interfaces, port 8000::
-
- nfd-status-http-server -a :: -p 8000
+``nfd-status-http-server -a :: -p 8000``
+ Start NFD's HTTP status server on all IPv6 interfaces, port 8000.