diff options
| author | Dave Reisner <dreisner@archlinux.org> | 2012-05-05 13:34:07 -0400 | 
|---|---|---|
| committer | Dan McGee <dan@archlinux.org> | 2012-05-20 17:38:33 -0500 | 
| commit | c2fdc38b78d9b83e783ff2ec3f8c4d53e7f45634 (patch) | |
| tree | be798a318162416f5e9a5e4b38c86420cf28b1b3 /src/pacman | |
| parent | ceb23622097bb59ef568fd2565d71148069664c8 (diff) | |
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 <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman')
| -rw-r--r-- | src/pacman/util.c | 2 | 
1 files changed, 1 insertions, 1 deletions
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;  | 
