diff --git a/README.rst b/README.rst
index 8201f52aebe81ff61dbf59e5fb7d05ee40d5dccd..2f517274c82f4059d24ef88f77d90d2eb3efba7f 100644
--- a/README.rst
+++ b/README.rst
@@ -76,7 +76,8 @@ file used by all Software Heritage tools, located by default at
 
 The configuration file location is subject to the `XDG Base Directory
 <https://wiki.archlinux.org/index.php/XDG_Base_Directory>`_ specification as
-well as explicitly overridden on the :ref:`command line <swh-scanner-cli>` via the
+well as explicitly overridden on the `command line
+<https://docs.softwareheritage.org/devel/swh-scanner/cli.html>`_ via the
 ``-C/--config-file`` flag.
 
 The following sub-sections and fields can be used within the ``swh > scanner``