chiark / gitweb /
[PATCH] remove leftover from udevinfo's -d option
authorazarah@nosferatu.za.org <azarah@nosferatu.za.org>
Tue, 14 Dec 2004 08:42:20 +0000 (09:42 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:13:48 +0000 (23:13 -0700)
udevinfo.c

index 340496b42b339b707137f65322c51633f23266e4..ce9804e2161322ea67789d589b8620c422805eff 100644 (file)
@@ -242,7 +242,7 @@ static int print_sysfs_devices(void)
 
 static int process_options(int argc, char *argv[])
 {
-       static const char short_options[] = "adn:p:q:rsVh";
+       static const char short_options[] = "an:p:q:rsVh";
        int option;
        int retval = 1;
        struct udevice udev;
@@ -439,7 +439,7 @@ exit:
        }
 
 help:
-       printf("Usage: udevinfo [-anpqrdVh]\n"
+       printf("Usage: udevinfo [-anpqrVh]\n"
               "  -q TYPE  query database for the specified value:\n"
               "             'name'    name of device node\n"
               "             'symlink' pointing to node\n"