summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2010-03-16 19:40:29 +0100
committerDan McGee <dan@archlinux.org>2010-05-05 10:39:44 -0500
commitf9fa822ccb0a077cf4cfa2cbbdac773187b88e20 (patch)
treee953b796a577a3139704acd897ab3e6c59ee766a /src
parentac9dde072c56b9dbc3fe515dc3702c2c992f492f (diff)
Remove unused 'z' option from getopt_long's optstring
In addition, I permuted shortopts to make it more readable. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
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) {