From f9fa822ccb0a077cf4cfa2cbbdac773187b88e20 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Tue, 16 Mar 2010 19:40:29 +0100 Subject: Remove unused 'z' option from getopt_long's optstring In addition, I permuted shortopts to make it more readable. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 19d27a94..7461b6ba 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -416,7 +416,7 @@ static int parseargs(int argc, char *argv[]) {0, 0, 0, 0} }; - while((opt = getopt_long(argc, argv, "RUDQSTr:b:vkhscVfmnoldepqituwygz", opts, &option_index))) { + while((opt = getopt_long(argc, argv, "DQRSTUVb:cdefghiklmnopqr:stuvwy", opts, &option_index))) { alpm_list_t *list = NULL, *item = NULL; /* lists for splitting strings */ if(opt < 0) { -- cgit v1.2.3-24-g4f1b