#!/usr/bin/bash
set -eu

OLD_NAME=$(realpath -s "$0")
NEW_NAME=${OLD_NAME/swww/awww}

printf >&2 "! The \"%s\" command has been renamed to \"%s\".
! This compatibility shim will be removed in one of the future updates.
! Please, update your configuration accordingly.
" "${OLD_NAME##*/}" "${NEW_NAME##*/}"

exec "${NEW_NAME}" "$@"
