]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/verbs: when showing default verb, put [] around the args too
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Thu, 7 May 2026 11:38:04 +0000 (13:38 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Thu, 7 May 2026 16:39:04 +0000 (18:39 +0200)
commit4e20d61c65c232a25dd30ce0aad4235dec3f634c
treee93c9ccf58abfbf9e8b4ed81800e9cf117273559
parentd865863929bd010392330a4358b005c9eb902880
shared/verbs: when showing default verb, put [] around the args too

The verb cannot be omitted but the args kept, so:
  resolvectl [status] [link]
is wrong, we need:
  resolvectl [status [link]]

Fixes f94da4b4c564f8cff4b5b739456c985e036a4201.
src/shared/verbs.c