Closed irides closed 10 months ago
Argbash cannot report if an invalid parameter is set, it will think this parameter as working_dir, and then show meaningless message:
$ run_qemu.sh --clx /usr/local/bin/run_qemu.sh: line 105: pushd: --clx: invalid number pushd: usage: pushd [-n] [+N | -N | dir] couldn't cd to --clx
Add check and print useful message:
$ run_qemu.sh --clx Invalid option '--clx' Try 'run_qemu.sh --help' for more information.
Argbash cannot report if an invalid parameter is set, it will think this parameter as working_dir, and then show meaningless message:
$ run_qemu.sh --clx /usr/local/bin/run_qemu.sh: line 105: pushd: --clx: invalid number pushd: usage: pushd [-n] [+N | -N | dir] couldn't cd to --clx
Add check and print useful message:
$ run_qemu.sh --clx Invalid option '--clx' Try 'run_qemu.sh --help' for more information.