docs: treat ha backups list as ignored arg, not a subcommand

ha backups --help has no list; extra positional args still print
the default backup list with exit 0. Keep the ha host update fix.
This commit is contained in:
windyboy
2026-08-14 22:44:02 +08:00
parent 1936b8f5fe
commit 1ec9246156
+5 -2
View File
@@ -302,8 +302,11 @@ host for exact syntax.
The [official HAOS common-tasks docs](https://www.home-assistant.io/common-tasks/os/) The [official HAOS common-tasks docs](https://www.home-assistant.io/common-tasks/os/)
also mention `ha host update`, which **does not exist** in this CLI also mention `ha host update`, which **does not exist** in this CLI
(2026-08-14). Backups: `ha backups` and `ha backups list` both list backups; (2026-08-14). Docs' `ha backups list` is not a subcommand either:
`ha backups info <slug>` is per-backup (slug required). Trust the server CLI `ha backups --help` lists freeze/info/new/options/reload/remove/restore/thaw;
extra positional args (`list`, `nonsense`, ...) are ignored and the default
list still prints with exit 0. The list command is plain `ha backups`.
Per-backup: `ha backups info <slug>` (slug required). Trust the server CLI
(`ha <cmd> --help`) over the docs. (`ha <cmd> --help`) over the docs.
This CLI's `ha core info` also has no `state:` field (verified 2026-08-14). This CLI's `ha core info` also has no `state:` field (verified 2026-08-14).