mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
udevadm: add text for new options to command and man page
This commit is contained in:
parent
18e3d9abc3
commit
f1e7e36046
@ -387,8 +387,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[])
|
|||||||
" of parent devices\n"
|
" of parent devices\n"
|
||||||
" --device-id-of-file=<file> print major:minor of device containing this file\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"
|
" --export-db export the content of the udev database\n"
|
||||||
" --help print this text\n"
|
" --help\n\n");
|
||||||
"\n");
|
|
||||||
goto exit;
|
goto exit;
|
||||||
default:
|
default:
|
||||||
goto exit;
|
goto exit;
|
||||||
|
@ -104,7 +104,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
|
|||||||
" --env print the whole event environment\n"
|
" --env print the whole event environment\n"
|
||||||
" --kernel print kernel uevents\n"
|
" --kernel print kernel uevents\n"
|
||||||
" --udev print udev events\n"
|
" --udev print udev events\n"
|
||||||
" --help print this help text\n\n");
|
" --help\n\n");
|
||||||
default:
|
default:
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,12 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[])
|
|||||||
quiet = 1;
|
quiet = 1;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
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;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[])
|
|||||||
case 'h':
|
case 'h':
|
||||||
printf("Usage: udevadm test OPTIONS <syspath>\n"
|
printf("Usage: udevadm test OPTIONS <syspath>\n"
|
||||||
" --action=<string> set action string\n"
|
" --action=<string> set action string\n"
|
||||||
" --help print this help text\n\n");
|
" --help\n\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
default:
|
default:
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -180,8 +180,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
|
|||||||
" --subsystem-nomatch=<subsystem> exclude devices from a matching subystem\n"
|
" --subsystem-nomatch=<subsystem> exclude devices from a matching subystem\n"
|
||||||
" --attr-match=<file[=<value>]> trigger devices with a matching attribute\n"
|
" --attr-match=<file[=<value>]> trigger devices with a matching attribute\n"
|
||||||
" --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
|
" --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
|
||||||
" --help print this text\n"
|
" --help\n\n");
|
||||||
"\n");
|
|
||||||
goto exit;
|
goto exit;
|
||||||
default:
|
default:
|
||||||
goto exit;
|
goto exit;
|
||||||
|
@ -224,6 +224,18 @@
|
|||||||
and always return immediately.</para>
|
and always return immediately.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
<varlistentry>
|
||||||
<term><option>--quiet</option></term>
|
<term><option>--quiet</option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user