tools: Handle PAGER containing arguments
authorPaul Barker <paul.barker@sancloud.com>
Wed, 8 Sep 2021 11:38:02 +0000 (12:38 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 24 Sep 2021 18:30:46 +0000 (14:30 -0400)
commit0d60e5d8e9a7abc46751664a0857c66280d43d2c
tree322415a51585845a0b9d44f0823686852185a3db
parent5fe50f9a4018f21d36e3ef34d7af9f7b5d7016b9
tools: Handle PAGER containing arguments

When printing full help output from a tool, we should be able to handle
a PAGER variable which includes arguments, e.g. PAGER='less -F'.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
tools/patman/tools.py