diff options
author | Kevin Ballard <kevin@sb.org> | 2014-10-09 23:32:54 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-10-09 23:48:10 -0700 |
commit | ac8c5910eb0fa03b9384463cb2a86ac4f929362e (patch) | |
tree | 5b379d3e108469a0177c750a6f4ee6b14a6f0293 /input_common.cpp | |
parent | cc7f1755aa4d33c30f64cfcd6b286d539e3d0519 (diff) |
Rewrite __fish_print_help to produce better results
As a result of this rewrite, the output now:
* Expands to fit the terminal width, like `man` does
* Preprocesses the manpage with `tbl` just in case, since `man` does
this, even though I doubt any fish manpages use `tbl` formatting.
* Handle bold/underline with the `ul` command as it was designed for
instead of trying to fake it with `sed`.
* Compresses blank lines as `man` does with the default `less -is`
pager.
Diffstat (limited to 'input_common.cpp')
0 files changed, 0 insertions, 0 deletions