chiark / gitweb /
udevadm: fix short options in getopt()
authorYin Kangkai <kangkai.yin@intel.com>
Wed, 28 Jul 2010 04:56:13 +0000 (06:56 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 28 Jul 2010 04:56:13 +0000 (06:56 +0200)
udev/udevadm-control.c
udev/udevadm-info.c
udev/udevadm-trigger.c

index 1f8008ab9e907074c804af604efe2fe05ba8b75b..8b90829211ca90ed8a0f7a4c3d9980ac0cafc39d 100644 (file)
@@ -71,7 +71,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
                int i;
                char *endp;
 
-               option = getopt_long(argc, argv, "l:sSRp:m:M:h", options, NULL);
+               option = getopt_long(argc, argv, "l:sSRp:m:h", options, NULL);
                if (option == -1)
                        break;
 
index 14baa6accb79c979e984f267623d649a6bec6806..9bd60c724334502b86fd574316375fd5188dcb10 100644 (file)
@@ -242,7 +242,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[])
                int option;
                struct stat statbuf;
 
-               option = getopt_long(argc, argv, "aed:n:p:q:rxPVh", options, NULL);
+               option = getopt_long(argc, argv, "aed:n:p:q:rxP:Vh", options, NULL);
                if (option == -1)
                        break;
 
index 481e9cf163c92a8e052a7dbf127138440f6cd0ff..c32e0b4e2faa0c74077d6fdd18ed90ab82a31832 100644 (file)
@@ -128,7 +128,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
                const char *val;
                char buf[UTIL_PATH_SIZE];
 
-               option = getopt_long(argc, argv, "vng:o:t:hcp:s:S:a:A:y:", options, NULL);
+               option = getopt_long(argc, argv, "vng:o:t:hc:p:s:S:a:A:y:", options, NULL);
                if (option == -1)
                        break;