xbps-remove: fix --dry-run for --clean-cache

`xbps-remove --clean-cache --dry-run` did not consider the
--dry-run flag, this has been fixed.
This commit is contained in:
Jan Tatje
2016-09-02 15:55:09 +02:00
parent 3a1892028a
commit 46be602e28
3 changed files with 12 additions and 7 deletions

View File

@ -27,6 +27,6 @@
#define _XBPS_REMOVE_DEFS_H_
/* From clean-cache.c */
int clean_cachedir(struct xbps_handle *);
int clean_cachedir(struct xbps_handle *, bool drun);
#endif /* !_XBPS_REMOVE_DEFS_H_ */