feat: if --check-all is requested with no OS, list URLs for all supported OS

This commit is contained in:
Martin Wimpress 2024-04-28 14:43:58 +01:00
parent 94e0ed4ccf
commit d8125b8ed8
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 8 additions and 1 deletions

View File

@ -3467,7 +3467,14 @@ case "${1}" in
'--check-all'|'-ca')
just="test"
shift
list_check_all "${1}"
# if no OS is specified, check all URLs for all supported OSes
if [ -z "${1}" ]; then
for OS in $(os_support); do
(list_check_all "${OS}")
done
else
list_check_all "${1}"
fi
;;
#TODO: Argument without dashes should be DEPRECATED!
'--list-csv'|'-lc'|'list'|'list_csv'|'lc')