Morganamilo / paccat

Print pacman package files
GNU General Public License v3.0
30 stars 4 forks source link

Add -1 --one to only match one package #5

Closed Morganamilo closed 3 years ago

Morganamilo commented 3 years ago

This may be a solution to #1. paccat -1 -- pacman.conf.

Morganamilo commented 3 years ago

I'm also leaning towards making this the default and having the reverse -a --all.

Morganamilo commented 3 years ago

-1 default or not should only match one file per file specified.

paccat pacman -- pacman.conf makepkg.conf would still match the 2 files because you specified 2. As soon as a file matches it should be taken out of the match pool. -a --all could disable this.