Unknown flag is not treated as uknown
Created by: petsam
Running pacman-mirrors -G
the script updated mirrors in /etc/pacman.d/mirrorlist
$ sudo pacman-mirrors -G
.: INFO Downloading mirrors from repo.manjaro.org
.: INFO Using custom mirror file
.: INFO Querying mirrors - This may take some time
0.398 Bulgaria : http://manjaro.telecoms.bg/
0.530 Bulgaria : https://mirrors.netix.net/manjaro/
0.626 Denmark : https://www.uex.dk/public/manjaro/
0.248 France : http://kibo.remi.lu/
0.500 France : https://fr.mirror.babylon.network/manjaro/
0.264 Germany : http://mirror.ragenetwork.de/manjaro/
0.471 Germany : https://mirror.alpix.eu/manjaro/
0.904 Germany : https://mirror.netzspielplatz.de/manjaro/packages/
0.516 Netherlands : https://nl.mirror.babylon.network/manjaro/
0.269 United_Kingdom : http://manjaro.mirrors.uk2.net/
0.286 United_Kingdom : http://mirror.catn.com/pub/manjaro/
0.462 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/
0.968 United_Kingdom : http://repo.manjaro.org.uk/
0.935 United_States : https://mirror.math.princeton.edu/pub/manjaro/
.: INFO Writing mirror list
France : http://kibo.remi.lu/testing/$repo/$arch
Germany : http://mirror.ragenetwork.de/manjaro/testing/$repo/$arch
United_Kingdom : http://manjaro.mirrors.uk2.net/testing/$repo/$arch
United_Kingdom : http://mirror.catn.com/pub/manjaro/testing/$repo/$arch
Bulgaria : http://manjaro.telecoms.bg/testing/$repo/$arch
United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/testing/$repo/$arch
Germany : https://mirror.alpix.eu/manjaro/testing/$repo/$arch
France : https://fr.mirror.babylon.network/manjaro/testing/$repo/$arch
Netherlands : https://nl.mirror.babylon.network/manjaro/testing/$repo/$arch
Bulgaria : https://mirrors.netix.net/manjaro/testing/$repo/$arch
Denmark : https://www.uex.dk/public/manjaro/testing/$repo/$arch
Germany : https://mirror.netzspielplatz.de/manjaro/packages/testing/$repo/$arch
United_States : https://mirror.math.princeton.edu/pub/manjaro/testing/$repo/$arch
United_Kingdom : http://repo.manjaro.org.uk/testing/$repo/$arch
.: INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
.: INFO To remove custom config run 'sudo pacman-mirrors -c all'
Expected behavior should be an info/error message about uknown flag. I did not want my mirrorlist affected, since I manually handle it.