[pacman-dev] [PATCH v4] paccache: adding the possibility for multiple cachedirs

Maxim Andersson thesilentboatman at gmail.com
Wed Aug 27 14:58:22 EDT 2014

2014-08-27 17:55 GMT+02:00 Dave Reisner <d at falconindy.com>:
> On Wed, Aug 27, 2014 at 06:09:37PM +0400, Yanus Poluektovich wrote:
>> Why is the dir list comma-separated? The standard for *nix is to separate
>> paths with a colon.
> In environment variables, sure. Do you have an example of where this is
> done in a command line argument?
> I'm actually reconsidering my stance on the feature entirely, as it
> disallows cachedirs with legitimate "," characters in them. I think
> maybe it's sufficient to just accept multiple -c arguments (a feature
> which isn't actually documented anywhere but in the commit message and
> code).

I feel it would be enough with multiple -c arguments. I added the
comma-separated option so it would behave similar to the -i argument.

If the comma-separated list is removed, should there be a note about
the multiple -c option in the usage function?

> d

More information about the pacman-dev mailing list