journal-upload: convert to VERB_COMMAND and add --introspect-cli

The custom help() is replaced by a COMMAND() description, and
--introspect-cli is added. The synopsis now marks the input files as
optional, since the local journal is read when none are given, and
--url= as optional, since URL= may come from journal-upload.conf,
matching the man page.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-08-17 13:21:31 +02:00
parent 9cea0873a0
commit 7125bf3ac4
2 changed files with 14 additions and 24 deletions
@@ -38,6 +38,7 @@ INTROSPECTABLE=(
systemd-inhibit
systemd-journal-gatewayd
systemd-journal-remote
systemd-journal-upload
systemd-mute-console
systemd-notify
systemd-oomd