diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-06-13 16:10:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-06-13 16:16:31 -0400 |
commit | f0bae86b684e57065da737ed5c8744f3757e9d38 (patch) | |
tree | d2941ab2e3eb124c2ce3b4cd581a03287737351b /expr.h | |
parent | db67752672877ea0f5360699cb34ad31065ef39e (diff) | |
download | bfs-f0bae86b684e57065da737ed5c8744f3757e9d38.tar.xz |
parse: More -help pager improvements
If $PAGER is unset, we now try less if it exists, then fall back to
more. Colors are only used if less is the used pager, since more on
non-coreutils platforms doesn't always handle colors. Finally, less's
configuration is given on the command line, which works better if the
user has $LESS already set.
Fixes https://github.com/tavianator/bfs/issues/76.
Diffstat (limited to 'expr.h')
0 files changed, 0 insertions, 0 deletions