Replace deprecated option local -A with local -a