pacmatic icon indicating copy to clipboard operation
pacmatic copied to clipboard

Better commandline option parsing

Open simonzack opened this issue 9 years ago • 0 comments

This PR improves commandline option parsing by matching more option types, so commands like the following (created by yaourt) works:

sudo pacmatic --color auto -U /tmp/yaourt-tmp-linux/PKGDEST.tVK/test-x86_64.pkg.tar.xz

I've also changed the conditions where pacdiff is called, to include the pacman -U option, and to exclude cases where no new packages are installed, which I hope is reasonable.

explode_args comes from yaourt (GPL).

simonzack avatar Jan 15 '15 23:01 simonzack