| 1 | diff -u -r ../fish-2.2.0/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish |
| 2 | --- ../fish-2.2.0/share/functions/__fish_print_help.fish 2015-07-03 15:46:59.000000000 -0400 |
| 3 | +++ ./share/functions/__fish_print_help.fish 2015-07-16 17:50:19.876454497 -0400 |
| 4 | @@ -39,7 +39,7 @@ |
| 5 | set cols (expr $cols - 4) # leave a bit of space on the right |
| 6 | set rLL -rLL=$cols[1]n |
| 7 | end |
| 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 | |
| 11 | # The original implementation trimmed off the top 5 lines and bottom 3 lines |
| 12 | # from the nroff output. Perhaps that's reliable, but the magic numbers make |
| 13 | @@ -94,6 +94,6 @@ |
| 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 |