mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
batman: Split short options
This commit is contained in:
parent
c29dfb136a
commit
f192b7a7d8
@ -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}");
|
||||||
|
Loading…
Reference in New Issue
Block a user