if [[ $cmd_arg != run ]]; then
opts_show+=(cmd_arg=$cmd_arg)
fi
- if (( $opts_show >= 1 )); then
+ if (( ${#opts_show[@]} >= 1 )); then
first=true
for opt in ${opts_show[@]}; do
if $first; then
printf "%s" "$opt"
else
printf " %s" "$opt"
+ fi
done
echo
fi