]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/stats.texi
POSIX tells that $ character is default shell prompt
[govpn.git] / doc / stats.texi
index c543137a808a08dfe755e3083d755805aab50d23..78c46460713d2356558b1fe9a0c0ae32522163a4 100644 (file)
@@ -4,15 +4,15 @@
 Both client and server has ability to show statistics about known
 connected peers. You retrieve them by downloading JSON from built-in
 background HTTP-server. You can enable it by specifying
-@code{-stats host:port} argument.
+@option{-stats host:port} argument.
 
 Actually it is not full-fledged HTTP-server: it just accepts connection,
 reads from it (does not parse anything) and writes dummy headers with
 JSON document.
 
 @verbatim
-% govpn-server [...] -stats "[::1]:5678"
-% curl http://localhost:5678/ | jq .
+$ govpn-server [...] -stats "[::1]:5678"
+$ curl http://localhost:5678/ | jq .
 [
   {
     "HeartbeatSent": 1,