[pacman-dev] [PATCH] scripts/library: rewrite parse_options