fish: Update from 2.3.1 to 2.4.0
[termux-packages] / packages / fish / share-functions-__fish_print_help.fish.patch
CommitLineData
2e54e151
FF
1diff -u -r ../fish-2.4b1/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish
2--- ../fish-2.4b1/share/functions/__fish_print_help.fish 2016-10-18 10:17:06.000000000 -0400
3+++ ./share/functions/__fish_print_help.fish 2016-10-19 17:37:08.948931562 -0400
4@@ -40,7 +40,7 @@
37cd358f
FF
5 set rLL -rLL=$cols[1]n
6 end
2e54e151
FF
7 if test -e "$__fish_datadir/man/man1/$item.1"
8- set help (nroff -man -c -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null)
9+ set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null)
10 else if test -e "$__fish_datadir/man/man1/$item.1.gz"
11 set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -man -c -t $rLL ^/dev/null)
12 end
13@@ -98,6 +98,6 @@
37cd358f
FF
14 # skip it
15 end
16 end
17- end | ul # post-process with `ul`, to interpret the old-style grotty escapes
18+ end # post-process with `ul`, to interpret the old-style grotty escapes
19 echo # print a trailing blank line
20 end