In addition, I permuted shortopts to make it more readable.
Signed-off-by: Nagy Gabor <[email protected]>
---
src/pacman/pacman.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 750afca..7fe8514 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) {
--
1.7.0.2