]> git.ipfire.org Git - thirdparty/systemd.git/commit
ssh-issue: replace verb options by normal verbs 41668/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 17 Apr 2026 07:07:31 +0000 (09:07 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Fri, 17 Apr 2026 09:54:47 +0000 (11:54 +0200)
commit252783981bca0783045fd89205dd8e6e24ca29c2
treeb6dd477a0a5f6aa76a4e7aef9d94b80045fb21db
parent9d8f4a469b7e2228fb3c9865da4b0ff6e2246cd9
ssh-issue: replace verb options by normal verbs

The interface of this program was rather strange. It took an option that
specified what to do, but that option behaved exactly like a verb. Let's
change the interface to the more modern style with verbs. Since the
inteface was documented in the man page, provide a compat shim to handle
the old options.

(In practice, I doubt anybody will notice the change. But since it was
documented, it's easier to provide the compat then to think too much
whether it is actually needed. I think we can drop it an year or so.)
man/systemd-ssh-issue.xml
src/ssh-generator/ssh-generator.c
src/ssh-generator/ssh-issue.c