basename: add -z and use getopts::usage