unzd if then echo need single argument the name of the archive to extr

1
unzd() { if [[ $# != 1 ]]; then echo I need a single argument, the name of the archive to extract; return 1; fi; target="${1%.zip}"; unzip -o "$1" -d "${target##*/}"; }