summaryrefslogtreecommitdiff
path: root/udevinfo.8
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-09-03 04:05:20 +0200
committerKay Sievers <kay.sievers@suse.de>2006-09-03 04:05:20 +0200
commit11f1bb5ab42571fae5cc607d42b8d918c9e170ab (patch)
tree60f96e282dab0b1bc0a5a9ddf198266f9a2fb391 /udevinfo.8
parenta44a30f6642ce49280012c551b532936a3a68729 (diff)
udevinfo: use long options
Diffstat (limited to 'udevinfo.8')
-rw-r--r--udevinfo.826
1 files changed, 13 insertions, 13 deletions
diff --git a/udevinfo.8 b/udevinfo.8
index 4430f5d9d3..01c9090031 100644
--- a/udevinfo.8
+++ b/udevinfo.8
@@ -14,17 +14,17 @@
udevinfo \- query device information from the udev database
.SH "SYNOPSIS"
.HP 9
-\fBudevinfo\fR [\fB\-q\ \fR\fB\fIquery\-type\fR\fR] [\fB\-a\ \fR] [\fB\-p\ \fR\fB\fIdevpath\fR\fR] [\fB\-n\ \fR\fB\fInode\fR\fR] [\fB\-r\fR] [\fB\-e\fR] [\fB\-V\fR] [\fB\-h\fR]
+\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\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.
.SH "OPTIONS"
.TP 3n
-\fB\-q\fR
+\fB\-\-query=\fR\fB\fItype\fR\fR
Query the database for specified type of device data. It needs the
-\fB\-p\fR
+\fB\-\-path\fR
or
-\fB\-n\fR
+\fB\-\-name\fR
to identify the specified device. Valid queries are:
\fBname\fR,
\fBsymlink\fR,
@@ -32,27 +32,27 @@ to identify the specified device. Valid queries are:
\fBenv\fR,
\fBall\fR.
.TP 3n
-\fB\-a\fR
-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.
-.TP 3n
-\fB\-p \fR\fB\fIdevpath\fR\fR
+\fB\-\-path=\fR\fB\fIdevpath\fR\fR
The devpath of the device to query.
.TP 3n
-\fB\-n \fR\fB\fInode\fR\fR
+\fB\-\-name=\fR\fB\fInode\fR\fR
The name of the device node or a symlink to query
.TP 3n
-\fB\-r\fR
+\fB\-\-root\fR
The udev root directory:
\fI/dev\fR. If used in conjunction with a
\fBname\fR
or
\fBsymlink\fR
-query, the query returns the absolute path.
+query, the query returns the absolute path including the root directory.
+.TP 3n
+\fB\-\-attribute\-walk\fR
+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.
.TP 3n
-\fB\-e\fR
+\fB\-\-export\fR
Export the content of the udev database.
.TP 3n
-\fB\-h\fR
+\fB\-\-help\fR
Print help text.
.SH "AUTHOR"
.PP