Skip to content

Commit

Permalink
Allow --wrap option to be passed to bat
Browse files Browse the repository at this point in the history
  • Loading branch information
mrafee113 authored and eth-p committed Aug 24, 2024
1 parent ac4f871 commit 92dcb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92dcb78

Please sign in to comment.