fix/issue-cmd-destroy-unbound-var
main
With set -u, using $2 without default causes error when called without arguments.