diff --git a/hledger-ui/doc/hledger-ui.1.m4.md b/hledger-ui/doc/hledger-ui.1.m4.md
index 5dc0b8262..9721e42ef 100644
--- a/hledger-ui/doc/hledger-ui.1.m4.md
+++ b/hledger-ui/doc/hledger-ui.1.m4.md
@@ -5,19 +5,6 @@
_web_({{
_docversionlinks_({{hledger-ui}})
_toc_
-
-
-
-
-
-
-
-
-
-
}})
_man_({{
@@ -35,6 +22,24 @@ hledger-ui - curses-style interface for the hledger accounting tool
_hledgerdescription_
}})
+_web_({{
+
+
-
-
-
-
-}})
-
# DESCRIPTION
_hledgerdescription_
}})
+_web_({{
+
+
+}})
+
hledger-web is hledger's web interface. It starts a simple web
application for browsing and adding transactions, and optionally
opens it in a web browser window if possible.
@@ -56,15 +57,7 @@ also opens it in your default web browser if possible. In this mode
the web app will keep running for as long as you have it open in a
browser window, and will exit after two minutes of inactivity (no
requests and no browser windows viewing it).
-
-```shell
-$ hledger web
-Starting web app on port 5000 with base url http://localhost:5000
-Starting web browser if possible
-Web app will auto-exit after a few minutes with no browsers (or press ctrl-c)
-```
-
-With `--serve`, it starts the web app in non-transient mode and logs
+With `--serve`, it just runs the web app without exiting, and logs
requests to the console.
By default the server listens on IP address 127.0.0.1, accessible only to local requests.