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:
parent
0a98202f84
commit
0d5f41537d
4
hosts
4
hosts
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user