]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: mention that udevadm verify also checks for udev rules style issues
authorDmitry V. Levin <ldv@strace.io>
Mon, 29 May 2023 08:00:00 +0000 (08:00 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 30 May 2023 08:13:04 +0000 (10:13 +0200)
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 <mwilck@suse.com>
Complements: acc1954a0394 ("udev-rules: check token delimiters")

man/udevadm.xml

index 1e2202aa66d6ec9501c172df83681569c0b72457..a1c977341306d8a6d9ea6669d1c10e2c9c1be92e 100644 (file)
       …
       </title>
 
-      <para>Verify syntactic and semantic correctness of udev rules files.</para>
+      <para>Verify syntactic, semantic, and stylistic correctness of udev rules files.</para>
 
       <para>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.</para>
 
-      <para>The exit status is <constant>0</constant> if all specified udev rules files
-      are syntactically and semantically correct, and a non-zero error code otherwise.</para>
+      <para>The exit status is <constant>0</constant> if all specified udev
+      rules files are syntactically, semantically, and stylistically correct,
+      and a non-zero error code otherwise.</para>
 
       <variablelist>
         <varlistentry>