mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
Allow --wrap option to be passed to bat
This commit is contained in:
parent
ac4f8710ba
commit
92dcb78765
@ -28,7 +28,7 @@ SHIFTOPT_SHORT_OPTIONS="SPLIT"
|
|||||||
while shiftopt; do
|
while shiftopt; do
|
||||||
case "$OPT" in
|
case "$OPT" in
|
||||||
--export-env) OPT_EXPORT_ENV=true ;;
|
--export-env) OPT_EXPORT_ENV=true ;;
|
||||||
--paging|--pager) shiftval; FORWARDED_ARGS+=("${OPT}=${OPT_VAL}");
|
--paging|--pager|--wrap) shiftval; FORWARDED_ARGS+=("${OPT}=${OPT_VAL}");
|
||||||
BAT_ARGS+=("${OPT}=${OPT_VAL}") ;;
|
BAT_ARGS+=("${OPT}=${OPT_VAL}") ;;
|
||||||
*) MAN_ARGS+=("$OPT") ;;
|
*) MAN_ARGS+=("$OPT") ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user