From 92dcb78765eaa0788438fc86679c7772d133425c Mon Sep 17 00:00:00 2001 From: Mehdi Rafee Date: Wed, 10 Jul 2024 13:45:23 +0330 Subject: [PATCH] Allow --wrap option to be passed to bat --- src/batman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/batman.sh b/src/batman.sh index 7842a7c..6670d8a 100755 --- a/src/batman.sh +++ b/src/batman.sh @@ -28,7 +28,7 @@ SHIFTOPT_SHORT_OPTIONS="SPLIT" while shiftopt; do case "$OPT" in --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}") ;; *) MAN_ARGS+=("$OPT") ;; esac