From: Dmitry V. Levin Date: Mon, 29 May 2023 08:00:00 +0000 (+0000) Subject: man: mention that udevadm verify also checks for udev rules style issues X-Git-Tag: v254-rc1~344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4bfb78bfc002070b8c3de79c0bcb4470bb93199;p=thirdparty%2Fsystemd.git man: mention that udevadm verify also checks for udev rules style issues Starting with commit acc1954a0394, udevadm verify also checks token delimiters, which are not necessarily a matter of udev rules syntax, but rather a question of style and readability. Mention that in the documentation to avoid confusion. Suggested-by: Martin Wilck Complements: acc1954a0394 ("udev-rules: check token delimiters") --- diff --git a/man/udevadm.xml b/man/udevadm.xml index 1e2202aa66d..a1c97734130 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -750,14 +750,15 @@ … - Verify syntactic and semantic correctness of udev rules files. + Verify syntactic, semantic, and stylistic correctness of udev rules files. Positional arguments could be used to specify one or more files to check. If no files are specified, the udev rules are read from the files located in the same udev/rules.d directories that are processed by the udev daemon. - The exit status is 0 if all specified udev rules files - are syntactically and semantically correct, and a non-zero error code otherwise. + The exit status is 0 if all specified udev + rules files are syntactically, semantically, and stylistically correct, + and a non-zero error code otherwise.