summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-26 19:41:50 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-26 19:41:50 +0200
commitcd42b50d866c35c7ffbab07920dc1323dd978a23 (patch)
treee0bfda8f0506abb319ebccf10df8df00bdcca6e5 /udev/udevadm-info.c
parent04f5d75f0cfaf82e1bbdec5e398e95b3d6f3f16d (diff)
libudev: enumerate_get_devices_list -> enumerate_get_list
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 6a0425769f..2f41b7adf7 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -192,7 +192,7 @@ static int export_devices(struct udev *udev)
enumerate = udev_enumerate_new_from_subsystems(udev, NULL);
if (enumerate == NULL)
return -1;
- list = udev_enumerate_get_devices_list(enumerate);
+ list = udev_enumerate_get_list(enumerate);
while (list != NULL) {
struct udev_device *device;
@@ -375,18 +375,18 @@ int udevadm_info(struct udev *udev, int argc, char *argv[])
goto exit;
case 'h':
printf("Usage: udevadm info OPTIONS\n"
- " --query=<type> query database for the specified value:\n"
+ " --query=<type> query device information:\n"
" name name of device node\n"
" symlink pointing to node\n"
- " path sysfs device path\n"
+ " path sys device path\n"
" env the device related imported environment\n"
" all all values\n"
- " --path=<devpath> sysfs device path used for query or chain\n"
- " --name=<name> node or symlink name used for query\n"
- " --root prepend to query result or print udev_root\n"
- " --attribute-walk print all key matches while walking along chain\n"
+ " --path=<syspath> sys device path used for query or attribute walk\n"
+ " --name=<name> node or symlink name used for query or attribute walk\n"
+ " --root prepend dev directory to path names\n"
+ " --attribute-walk print all key matches while walking along the chain\n"
" of parent devices\n"
- " --device-id-of-file=<file> print major/minor of underlying device\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");