updatectl: convert to VERB_COMMAND and add --introspect-cli

The custom help() is replaced by a COMMAND() description, and
--introspect-cli is added. The odd "Verbs" option group marker is dropped,
so that all options are listed in one section after the verbs, with --help
and --version first. The synopsis now uses the generic "[OPTION…] COMMAND …"
form: a bare VERSION is not accepted as the first argument, and the man
page does not list it either. --help now goes through the pager, like
other commands with --no-pager.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-08-18 16:54:09 +02:00
parent adc83f020a
commit 0cbeceaea2
2 changed files with 17 additions and 60 deletions
@@ -97,6 +97,7 @@ INTROSPECTABLE=(
systemd-validatefs
systemd-veritysetup
timedatectl
updatectl
userdbctl
varlinkctl
)