chiark / gitweb /
man: add missing options to various man pages
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 7 Mar 2007 17:00:12 +0000 (18:00 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 7 Mar 2007 17:00:12 +0000 (18:00 +0100)
udevcontrol.c
udevd.8
udevd.xml
udevinfo.8
udevinfo.c
udevinfo.xml

index a983f22835ffaf7d2d7738b9326e7d11876c47f9..6ca90855c55146aca3a0b6439a56914182dc89c7 100644 (file)
@@ -125,7 +125,7 @@ int main(int argc, char *argv[], char *envp[])
                                "  reload_rules           reloads the rules files\n"
                                "  max_childs=<N>         maximum number of childs\n"
                                "  max_childs_running=<N> maximum number of childs running at the same time\n"
-                               "  --help                 print this help text\n\n");
+                               "  help                   print this help text\n\n");
                        goto exit;
                } else {
                        fprintf(stderr, "unrecognized command '%s'\n", arg);
diff --git a/udevd.8 b/udevd.8
index d21f1d754c0d29f1242e082885273ca97e012ed5..614e4f338f6177e5cb87a9a32f1a93b6cdc322e1 100644 (file)
--- a/udevd.8
+++ b/udevd.8
@@ -49,7 +49,7 @@ Print usage.
 .PP
 \fBlog_priority=\fR\fB\fIvalue\fR\fR
 .RS 4
-udevcontrol can dynamically set the log level of udevd. Valid values are the numerical syslog priorities or their textual representations:
+Set the internal log level of udevd. Valid values are the numerical syslog priorities or their textual representations:
 \fBerr\fR,
 \fBinfo\fR
 and
@@ -58,12 +58,32 @@ and
 .PP
 \fBstop_exec_queue\fR
 .RS 4
-udevcontrol stops the execution of events from udevd.
+Signal udevd to stop executing new events. Incoming events will be queued.
 .RE
 .PP
 \fBstart_exec_queue\fR
 .RS 4
-udevcontrol starts the execution of events from udevd.
+Signal udevd to enable the execution of events.
+.RE
+.PP
+\fBreload_rules\fR
+.RS 4
+Signal udevd to reload the rules from the config.
+.RE
+.PP
+\fBmax_childs\fR
+.RS 4
+Set the maximum number of events, udevd will handle at the same time.
+.RE
+.PP
+\fBmax_childs_running\fR
+.RS 4
+Set the maximum number of events, which are allowed to run at the same time.
+.RE
+.PP
+\fBhelp\fR
+.RS 4
+Print help text.
 .RE
 .SH "ENVIRONMENT"
 .PP
index 84182884b66a9b23038bf71274753eb6d062804e..674fa4d755a7ea02465c1e376e9317869422b692 100644 (file)
--- a/udevd.xml
+++ b/udevd.xml
           <varlistentry>
             <term><option>log_priority=<replaceable>value</replaceable></option></term>
             <listitem>
-              <para>udevcontrol can dynamically set the log level of udevd.
-              Valid values are the numerical syslog priorities or their textual
-              representations: <option>err</option>, <option>info</option>
-              and <option>debug</option>.</para>
+              <para>Set the internal log level of udevd. Valid values are the numerical
+              syslog priorities or their textual representations: <option>err</option>,
+              <option>info</option> and <option>debug</option>.</para>
             </listitem>
           </varlistentry>
           <varlistentry>
             <term><option>stop_exec_queue</option></term>
             <listitem>
-              <para>udevcontrol stops the execution of events from udevd.</para>
+              <para>Signal udevd to stop executing new events. Incoming events
+              will be queued.</para>
             </listitem>
           </varlistentry>
           <varlistentry>
             <term><option>start_exec_queue</option></term>
             <listitem>
-              <para>udevcontrol starts the execution of events from udevd.</para>
+              <para>Signal udevd to enable the execution of events.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>reload_rules</option></term>
+            <listitem>
+              <para>Signal udevd to reload the rules from the config.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>max_childs</option></term>
+            <listitem>
+              <para>Set the maximum number of events, udevd will handle at the
+              same time.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>max_childs_running</option></term>
+            <listitem>
+              <para>Set the maximum number of events, which are allowed to run at the
+              same time. </para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>help</option></term>
+            <listitem>
+              <para>Print help text.</para>
             </listitem>
           </varlistentry>
         </variablelist>
index a6ab1bbf0b0b913b5df99499384c0474a890a53b..337f2064e4c1e3c9c37176d220c6c9bc95541532 100644 (file)
@@ -14,7 +14,7 @@
 udevinfo \- query udev device information
 .SH "SYNOPSIS"
 .HP 9
-\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-export\-db\fR] [\fB\-\-help\fR]
+\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-export\-db\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
 .SH "DESCRIPTION"
 .PP
 udevinfo queries the udev database for device information stored in the udev database. It can also query the properties of a device from its sysfs representation to help creating udev rules that match this device.
@@ -64,6 +64,11 @@ Print all sysfs properties of the specified device that can be used in udev rule
 Export the content of the udev database.
 .RE
 .PP
+\fB\-\-version\fR
+.RS 4
+Print version.
+.RE
+.PP
 \fB\-\-help\fR
 .RS 4
 Print help text.
index ef4750dbf4faeeee95b7dae577b6cebd316542c7..3f47add87cd6f7197ec2d81dc5603bbf56564d3a 100644 (file)
@@ -190,7 +190,7 @@ int main(int argc, char *argv[], char *envp[])
                { "attribute-walk", 0, NULL, 'a' },
                { "export-db", 0, NULL, 'e' },
                { "root", 0, NULL, 'r' },
-               { "version", 0, NULL, 'V' },
+               { "version", 0, NULL, 1 }, /* -V outputs braindead format */
                { "help", 0, NULL, 'h' },
                {}
        };
@@ -290,6 +290,9 @@ int main(int argc, char *argv[], char *envp[])
                case 'e':
                        export_db(export_record);
                        goto exit;
+               case 1:
+                       printf("%s\n", UDEV_VERSION);
+                       goto exit;
                case 'V':
                        printf("udevinfo, version %s\n", UDEV_VERSION);
                        goto exit;
index 82de79f6d8f72152c94407e949bb0c48480e3421..bb3571cc23afb75abe94c699f33912545cd8e0c5 100644 (file)
@@ -32,6 +32,7 @@
           <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>
             </listitem>
           </varlistentry>
 
+          <varlistentry>
+            <term><option>--version</option></term>
+            <listitem>
+              <para>Print version.</para>
+            </listitem>
+          </varlistentry>
+
           <varlistentry>
             <term><option>--help</option></term>
             <listitem>