diff --git a/reference/fleet/agent-command-reference.md b/reference/fleet/agent-command-reference.md
index 9393e8f49b..7a5700a082 100644
--- a/reference/fleet/agent-command-reference.md
+++ b/reference/fleet/agent-command-reference.md
@@ -105,7 +105,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent diagnostics
```
-
## elastic-agent enroll [elastic-agent-enroll-command]
@@ -381,7 +380,6 @@ elastic-agent enroll --url=https://fleet-server:8220 \
--certificate-authorities=/path/to/ca.crt
```
-
## elastic-agent help [elastic-agent-help-command]
@@ -412,7 +410,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent help enroll
```
-
## elastic-agent inspect [elastic-agent-inspect-command]
@@ -458,7 +455,6 @@ elastic-agent inspect components --show-config
elastic-agent inspect components log-default
```
-
## elastic-agent privileged [elastic-agent-privileged-command]
@@ -473,7 +469,6 @@ Refer to [Run {{agent}} without administrative privileges](/reference/fleet/elas
elastic-agent privileged
```
-
## elastic-agent install [elastic-agent-install-command]
@@ -780,7 +775,6 @@ elastic-agent install --url=https://fleet-server:8220 \
--certificate-authorities=/path/to/ca.crt
```
-
## elastic-agent otel [elastic-agent-otel-command]
@@ -833,7 +827,6 @@ Change the default verbosity setting in the {{agent}} EDOT Collector configurati
./elastic-agent otel --config otel.yml --set "exporters::debug::verbosity=normal"
```
-
## elastic-agent restart [elastic-agent-restart-command]
@@ -861,7 +854,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent restart
```
-
## elastic-agent run [elastic-agent-run-command]
@@ -910,7 +902,6 @@ These flags are valid whenever you run `elastic-agent` on the command line.
elastic-agent run -c myagentconfig.yml
```
-
## elastic-agent status [elastic-agent-status-command]
@@ -958,7 +949,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent status
```
-
## elastic-agent uninstall [elastic-agent-uninstall-command]
@@ -1041,7 +1031,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent uninstall
```
-
## elastic-agent unprivileged [elastic-agent-unprivileged-command]
@@ -1072,7 +1061,6 @@ elastic-agent unprivileged --user="my.pathl\username" --password="mypassword"
elastic-agent unprivileged --group="my.pathl\groupname" --password="mypassword"
```
-
## elastic-agent upgrade [elastic-agent-upgrade-command]
@@ -1117,7 +1105,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent upgrade 7.10.1
```
-
## elastic-agent logs [elastic-agent-logs-command]
@@ -1157,7 +1144,6 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
elastic-agent logs -n 100 -f -C "system/metrics-default"
```
-
## elastic-agent version [elastic-agent-version-command]
@@ -1184,5 +1170,3 @@ For more flags, see [Global flags](#elastic-agent-global-flags).
```shell
elastic-agent version
```
-
-