udevadm: fix short options in getopt()

This commit is contained in:
Yin Kangkai 2010-07-28 06:56:13 +02:00 committed by Kay Sievers
parent efb27d6465
commit 163c0365ff
3 changed files with 3 additions and 3 deletions

View 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;

View 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;

View 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;