[pacman-dev] Help with naming new option for paccache

Dave Reisner d at falconindy.com
Thu Oct 9 13:52:32 UTC 2014

On Thu, Oct 09, 2014 at 02:31:04PM +0200, Maxim Andersson wrote:
> Hi,
> Been looking into adding a new option for paccache that  would remove
> all uninstalled packages (and at the same time keep the default number
> of the others). So,
> paccache -r --removeuninstalled
> would be the same as running
> paccache -r && paccache -ruk0

I don't think this is such a bad alternative. I'm not really fond of the
idea of "aliasing" existing functionality into new flags, especially if
the cost is code complexity.

> But before sending in my patch/option-proposal, I would like to hear
> what you think a good option name would be? I think
> "removeuninstalled" is pretty descriptive, but it's a bit long.. and I
> wasn't able come up with any good shorter names.

Do you have the patch already? Having code makes for a far more
interesting discussion than bikeshedding over the name of the flag.

More information about the pacman-dev mailing list