1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-22 04:45:11 +00:00

Fix spacing in option parsing.

This commit is contained in:
William Melody 2020-06-07 15:12:48 -07:00
parent 0a98202f84
commit 0d5f41537d

4
hosts
View File

@ -1568,7 +1568,7 @@ do
_AUTO_SUDO=1 _AUTO_SUDO=1
;; ;;
*) *)
if [[ -z "${_SUBCOMMAND:-}" ]] && if [[ -z "${_SUBCOMMAND:-}" ]] &&
[[ "${__opt:-}" =~ ${_SUBCOMMANDS_PATTERN} ]] [[ "${__opt:-}" =~ ${_SUBCOMMANDS_PATTERN} ]]
then then
_SUBCOMMAND="${__opt}" _SUBCOMMAND="${__opt}"
@ -1579,7 +1579,7 @@ do
esac esac
done done
_debug printf \ _debug printf \
"\${_SUBCOMMAND}: %s\\n" \ "\${_SUBCOMMAND}: %s\\n" \
"${_SUBCOMMAND}" "${_SUBCOMMAND}"
_debug printf \ _debug printf \