Commit | Line | Data |
---|---|---|
03599358 FF |
1 | diff -u -r ../fish-2.6.0/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish |
2 | --- ../fish-2.6.0/share/functions/__fish_print_help.fish 2017-06-03 14:45:13.000000000 +0200 | |
3 | +++ ./share/functions/__fish_print_help.fish 2017-06-05 21:29:51.794696261 +0200 | |
4 | @@ -45,7 +45,7 @@ | |
5 | set mfish -mfish | |
cfa043f9 | 6 | end |
2e54e151 | 7 | if test -e "$__fish_datadir/man/man1/$item.1" |
03599358 FF |
8 | - set help (nroff -c -man $mfish -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null) |
9 | + set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null) | |
2e54e151 | 10 | else if test -e "$__fish_datadir/man/man1/$item.1.gz" |
03599358 | 11 | set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -c -man $mfish -t $rLL ^/dev/null) |
2e54e151 | 12 | end |
03599358 | 13 | @@ -103,6 +103,6 @@ |
cfa043f9 VB |
14 | # skip it |
15 | end | |
16 | end | |
17 | - end | ul # post-process with `ul`, to interpret the old-style grotty escapes | |
03599358 | 18 | + end |
cfa043f9 | 19 | echo # print a trailing blank line |
37cd358f | 20 | end |