From c15f7710deafe1b4fe9411381bd07cd0dbe8da48 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Fri, 23 Nov 2007 22:32:40 +0100 Subject: Unify dump_pkg_full in pacman [-Si, -Qip, -Qi and -Qii] dump_pkg_sync is now a trivial wrapper for dump_pkg_full Some smaller changes: * string_display function added to util.c [prints None in case of empty string] * Filename field added to -Qip * rename License to Licenses * 'Compressed Size' used instead of 'Download Size' for -Qip Signed-off-by: Nagy Gabor [Dan: fix whitespace errors, spacing issues, const modifiers] 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 e46555e0..0295d7e5 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -48,6 +48,7 @@ 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 string_display(const char *title, const char *string); 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