archlinux-downgrade / downgrade

Downgrade packages in Arch Linux
GNU General Public License v2.0
570 stars 24 forks source link

Use POSIX `getopts` in `pacignore` #198

Closed atreyasha closed 2 years ago

atreyasha commented 2 years ago

Checklist

Description

This PR proposes the following changes:

  1. As discussed earlier, use POSIX getopts for pasing CLI options in lower-level scripts; specifically pacignore here
  2. Update tests to use shorter CLI options and to test error messages as well