chiark / gitweb /
rules: fix typo in 80-drivers.rules
[elogind.git] / udevinfo.xml
index 0e2874973b2b752f37308a6448adaafdbcecbb19..bb3571cc23afb75abe94c699f33912545cd8e0c5 100644 (file)
@@ -3,19 +3,6 @@
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
 
 <article>
-  <articleinfo>
-    <title>xmlto</title>
-    <author>
-      <firstname>Kay</firstname>
-      <surname>Sievers</surname>
-      <email>kay.sievers@vrfy.org</email>
-    </author>
-    <copyright>
-      <year>2005</year>
-      <holder>Kay Sievers</holder>
-    </copyright>
-  </articleinfo>
-
   <section>
     <title>udevinfo</title>
     <refentry>
       <refmeta>
         <refentrytitle>udevinfo</refentrytitle>
         <manvolnum>8</manvolnum>
+        <refmiscinfo class="version"></refmiscinfo>
       </refmeta>
 
       <refnamediv>
-        <refname>udevinfo</refname><refpurpose>query device information from the udev database</refpurpose>
+        <refname>udevinfo</refname>
+        <refpurpose>query udev device information</refpurpose>
       </refnamediv>
 
       <refsynopsisdiv>
         <cmdsynopsis>
           <command>udevinfo</command>
-          <arg><option>-<replaceable>query-type</replaceable></option></arg>
-          <arg><option>-</option></arg>
-          <arg><option>-p <replaceable>devpath</replaceable></option></arg>
-          <arg><option>-n <replaceable>node</replaceable></option></arg>
-          <arg><option>-r</option></arg>
-          <arg><option>-e</option></arg>
-          <arg><option>-V</option></arg>
-          <arg><option>-h</option></arg>
+          <arg><option>--query=<replaceable>query-type</replaceable></option></arg>
+          <arg><option>--path=<replaceable>devpath</replaceable></option></arg>
+          <arg><option>--name=<replaceable>node</replaceable></option></arg>
+          <arg><option>--root</option></arg>
+          <arg><option>--attribute-walk</option></arg>
+          <arg><option>--export-db</option></arg>
+          <arg><option>--version</option></arg>
+          <arg><option>--help</option></arg>
         </cmdsynopsis>
       </refsynopsisdiv>
 
       <refsect1><title>OPTIONS</title>
         <variablelist>
           <varlistentry>
-            <term><option>-q</option></term>
+            <term><option>--query=<replaceable>type</replaceable></option></term>
             <listitem>
               <para>Query the database for specified type of device data. It needs the
-              <option>-p</option> or <option>-n</option> to identify the specified
+              <option>--path</option> or <option>--name</option> to identify the specified
               device. Valid queries are:
               <command>name</command>, <command>symlink</command>, <command>path</command>,
               <command>env</command>, <command>all</command>.</para>
             </listitem>
           </varlistentry>
-
           <varlistentry>
-            <term><option>-a</option></term>
-            <listitem>
-              <para>Print all sysfs properties of the specified device that can be used
-              in udev rules to match the specified device. It prints all devices
-              along the chain, up to the root of sysfs that can be used in udev rules.</para>
-            </listitem>
-          </varlistentry>
-
-          <varlistentry>
-            <term><option>-p <replaceable>devpath</replaceable></option></term>
+            <term><option>--path=<replaceable>devpath</replaceable></option></term>
             <listitem>
               <para>The devpath of the device to query.</para>
             </listitem>
           </varlistentry>
-
           <varlistentry>
-            <term><option>-<replaceable>node</replaceable></option></term>
+            <term><option>--name=<replaceable>node</replaceable></option></term>
             <listitem>
               <para>The name of the device node or a symlink to query</para>
             </listitem>
           </varlistentry>
-
           <varlistentry>
-            <term><option>-r</option></term>
+            <term><option>--root</option></term>
             <listitem>
               <para>The udev root directory: <filename>/dev</filename>. If used in conjunction
               with a <command>name</command> or <command>symlink</command> query, the
-              query returns the absolute path.</para>
+              query returns the absolute path including the root directory.</para>
             </listitem>
           </varlistentry>
-
           <varlistentry>
-            <term><option>-e</option></term>
+            <term><option>--attribute-walk</option></term>
+            <listitem>
+              <para>Print all sysfs properties of the specified device that can be used
+              in udev rules to match the specified device. It prints all devices
+              along the chain, up to the root of sysfs that can be used in udev rules.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>--export-db</option></term>
             <listitem>
               <para>Export the content of the udev database.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
-            <term><option>-h</option></term>
+            <term><option>--version</option></term>
+            <listitem>
+              <para>Print version.</para>
+            </listitem>
+          </varlistentry>
+
+          <varlistentry>
+            <term><option>--help</option></term>
             <listitem>
               <para>Print help text.</para>
             </listitem>