From 5356761da67aa5c11f784c3ba9ac8d8f6e55048b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 13 Mar 2023 18:12:04 +0100 Subject: udev: implement --version in all builtins Those are separate binaries, and occasionally people will get a misplaced binary that doesn't match the rest of the installed system and be confused, so it good to be able to check the version. It is also nice to have the same interface in all binaries. Note that we usually use a separate 'enum ARG_VERSION = 0x100' for an option without a short name. We can use a less verbose approach of simply taking any unused letter, which works just as well and even the compiler would warn us if we tried to use the letter in another place. This way we avoid a few lines of boilerplate. The help texts are adjusted to have an empty line between the synopsis and option list, and no empty lines after the option list. --- man/udevadm.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'man/udevadm.xml') diff --git a/man/udevadm.xml b/man/udevadm.xml index 503ec81091..e520c98143 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -739,6 +739,7 @@ + -- cgit v1.2.1