From 46ec9e3548b5b567c7eb18c360f54a77b6313b12 Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Tue, 13 Nov 2007 19:32:56 -0500 Subject: Make it easier to ignore multiple packages. This makes --ignore and --ignoregroup able to accept multiple packages/groups by separating each with a comma. For instance: pacman -Su --ignore kernel26,udev,glibc This was requested in the comments of FS#8054. Signed-off-by: Nathan Jones Signed-off-by: Dan McGee --- src/pacman/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 4d17b179..931b456b 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -46,6 +46,7 @@ void indentprint(const char *str, int indent); char *strtoupper(char *str); char *strtrim(char *str); char *strreplace(const char *str, const char *needle, const char *replace); +alpm_list_t *strsplit(const char *str, const char splitchar); void list_display(const char *title, const alpm_list_t *list); void display_targets(const alpm_list_t *syncpkgs, pmdb_t *db_local); int yesno(char *fmt, ...); -- cgit v1.2.3-70-g09d2