Skip to content

repo-add: fix parseopts missing arg to -k/--key

The current code treats -k/--key as a binary option which later makes it fail parsing the argument as then the end of arguments '--' is treated as the GPGKEY. We fix this by adding the appropriate specifier to the long and shortopt.

Closes #105 (closed)

Fixes: 4f43ce3e ("repo-add: use parseopts from libmakepkg")
Signed-off-by: Christian Heusel christian@heusel.eu

Edited by Christian Heusel

Merge request reports