batman: Split short options

This commit is contained in:
Ethan P. 2023-09-19 10:46:46 -07:00
parent c29dfb136a
commit f192b7a7d8
No known key found for this signature in database
GPG Key ID: B29B90B1B228FEBC

View File

@ -24,6 +24,7 @@ FORWARDED_ARGS=()
MAN_ARGS=() MAN_ARGS=()
BAT_ARGS=() BAT_ARGS=()
SHIFTOPT_SHORT_OPTIONS="SPLIT"
while shiftopt; do while shiftopt; do
case "$OPT" in case "$OPT" in
--paging|--pager) shiftval; FORWARDED_ARGS+=("${OPT}=${OPT_VAL}"); --paging|--pager) shiftval; FORWARDED_ARGS+=("${OPT}=${OPT_VAL}");