Skip to content

apk: fix invalid arguments only returned for last option

Sertonix requested to merge sertonix/apk-tools:arg-error into master

When the invalid options wasn't the last one the error would be ignored: apk --invalid --no-cache stats

I also simplified the code.

Merge request reports

Loading