summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorYin Kangkai <kangkai.yin@intel.com>2010-07-28 06:56:13 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-07-28 06:56:13 +0200
commit163c0365ffbd9321d686e8c301c36ea50c98df2f (patch)
treebe19eb8c661de939af23b6f30c59341340303517 /udev
parentefb27d646590660c766796fc314a291bdcd2b3e1 (diff)
udevadm: fix short options in getopt()
Diffstat (limited to 'udev')
-rw-r--r--udev/udevadm-control.c2
-rw-r--r--udev/udevadm-info.c2
-rw-r--r--udev/udevadm-trigger.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 1f8008ab9e..8b90829211 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -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;
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 14baa6accb..9bd60c7243 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -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;
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 481e9cf163..c32e0b4e2f 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -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;