From c2fdc38b78d9b83e783ff2ec3f8c4d53e7f45634 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 5 May 2012 13:34:07 -0400 Subject: pacman: support group selection delimited by commas We support multiple arguments being comma separated elsewhere, so this seems like a natural extension to support in our multiparse selection code. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- src/pacman/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/util.c b/src/pacman/util.c index e8140d0f..7f7f6a74 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1304,7 +1304,7 @@ static int multiselect_parse(char *array, int count, char *response) int start, end; size_t len; char *ends = NULL; - char *starts = strtok_r(str, " ", &saveptr); + char *starts = strtok_r(str, " ,", &saveptr); if(starts == NULL) { break; -- cgit v1.2.3-70-g09d2