RE: @markus-oberhumer's #68
I think it makes sense to not override LESS, in case it's necessary for less to work properly in the user's environment. But I can think of a couple improvements that would make sense:
- Override
LESS if it's empty. Similar to the new PAGER handling. I think git ought to do the same thing.
- If
LESS is nonempty, don't colorize the help. This should at least make it readable for you. And if you want the colors, you could do LESS= bfs -help.
But I just thought of a complication: if $PAGER != less, it's weird for $LESS to affect the behaviour of bfs help. Thoughts?
RE: @markus-oberhumer's #68
I think it makes sense to not override
LESS, in case it's necessary forlessto work properly in the user's environment. But I can think of a couple improvements that would make sense:LESSif it's empty. Similar to the newPAGERhandling. I thinkgitought to do the same thing.LESSis nonempty, don't colorize the help. This should at least make it readable for you. And if you want the colors, you could doLESS= bfs -help.But I just thought of a complication: if
$PAGER != less, it's weird for$LESSto affect the behaviour ofbfs help. Thoughts?