It seems that builtins' --help argument seems to display differently than usual man commands:
# Seems to just use my default $PAGER instead of $MANPAGER
MANPAGER='sh -c "col -bx | bat -plman"' printf --help
vs
# Does what I expect
MANPAGER='sh -c "col -bx | bat -plman"' man printf
Since the builtins use the same man-style output it would make sense to use $MANPAGER first, perhaps falling back to $PAGER if unset.
Originally posted by @ian-h-chamberlain in #2170 (comment)
It seems that builtins'
--helpargument seems to display differently than usualmancommands:vs
Since the builtins use the same
man-style output it would make sense to use$MANPAGERfirst, perhaps falling back to$PAGERif unset.Originally posted by @ian-h-chamberlain in #2170 (comment)