1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-27 13:57:26 +03:00

man: add missing options to various man pages

This commit is contained in:
Kay Sievers 2007-03-07 18:00:12 +01:00
parent 159ba1c531
commit 88caa9da18
6 changed files with 74 additions and 12 deletions

View 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);

26
udevd.8
View File

@ -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

View File

@ -80,22 +80,48 @@
<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>

View 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.

View 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;

View 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>
@ -90,6 +91,13 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--version</option></term>
<listitem>
<para>Print version.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--help</option></term>
<listitem>