udevadm: add text for new options to command and man page

This commit is contained in:
Kay Sievers 2009-03-07 02:32:40 +01:00
parent 18e3d9abc3
commit f1e7e36046
6 changed files with 22 additions and 7 deletions

View file

@ -387,8 +387,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[])
" of parent devices\n"
" --device-id-of-file=<file> print major:minor of device containing this file\n"
" --export-db export the content of the udev database\n"
" --help print this text\n"
"\n");
" --help\n\n");
goto exit;
default:
goto exit;

View file

@ -104,7 +104,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
" --env print the whole event environment\n"
" --kernel print kernel uevents\n"
" --udev print udev events\n"
" --help print this help text\n\n");
" --help\n\n");
default:
goto out;
}

View file

@ -80,7 +80,12 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[])
quiet = 1;
break;
case 'h':
printf("Usage: udevadm settle [--help] [--timeout=<seconds>] [--quiet]\n\n");
printf("Usage: udevadm settle OPTIONS\n"
" --timeout=<seconds> maximum time to wait for events\n"
" --seq-start=<seqnum> first seqnum to wait for\n"
" --seq-end=<seqnum> last seqnum to wait for\n"
" --quiet do not print list after timeout\n"
" --help\n\n");
goto exit;
}
}

View file

@ -64,7 +64,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[])
case 'h':
printf("Usage: udevadm test OPTIONS <syspath>\n"
" --action=<string> set action string\n"
" --help print this help text\n\n");
" --help\n\n");
exit(0);
default:
exit(1);

View file

@ -180,8 +180,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
" --subsystem-nomatch=<subsystem> exclude devices from a matching subystem\n"
" --attr-match=<file[=<value>]> trigger devices with a matching attribute\n"
" --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
" --help print this text\n"
"\n");
" --help\n\n");
goto exit;
default:
goto exit;

View file

@ -224,6 +224,18 @@
and always return immediately.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--seq-start=<replaceable>seqnum</replaceable></option></term>
<listitem>
<para>Wait only for events after the given sequence number.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--seq-end=<replaceable>seqnum</replaceable></option></term>
<listitem>
<para>Wait only for events before the given sequence number.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--quiet</option></term>
<listitem>