No longer require repo argument

This commit is contained in:
etorres4 2022-03-17 23:28:56 -07:00
parent fffc1e8cd1
commit aaff56cea3
2 changed files with 1 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Eric Torres <erictorres4@protonmail.com>
pkgname=packaging-scripts
pkgver=1.5.1
pkgrel=1
pkgrel=2
pkgdesc="A set of helper scripts for handling Arch Linux packages"
arch=('any')
license=('MIT')

View File

@ -73,16 +73,9 @@ if __name__ == "__main__":
default=DEFAULT_FILENAME,
help="alternative filename to upload as",
)
parser.add_argument(
"repository",
choices=pacman.list_configured_repos(),
help="the repository to operate on",
metavar="repo",
)
args = parser.parse_args()
filename = args.filename
repo = args.repository
# Run process that lists packages
packages = subprocess.run([PACMAN_CMD, "-Qqem"], capture_output=True).stdout