aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-24 20:35:50 -0400
committerTom Rini <trini@konsulko.com>2021-09-24 20:35:50 -0400
commitbf0491f8d8c2f259b6b7356744b9e6e05be8f6f2 (patch)
treedecd8c20bc02d9039ce2ea6952e4642a71bc8190 /tools/buildman/control.py
parent7d1fcaea128ff689aea75deaf7f75d75d1b553d3 (diff)
parentcc5afabc9d32933578536401114f91bbecff158b (diff)
Merge branch '2021-09-24-assorted-updates' into next
- A few minor updates
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index a98d1b4c06..fd9664c85d 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -16,6 +16,7 @@ from patman import command
from patman import gitutil
from patman import patchstream
from patman import terminal
+from patman import tools
from patman.terminal import Print
def GetPlural(count):
@@ -133,12 +134,9 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
global builder
if options.full_help:
- pager = os.getenv('PAGER')
- if not pager:
- pager = 'more'
- fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])),
- 'README')
- command.Run(pager, fname)
+ tools.PrintFullHelp(
+ os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 'README')
+ )
return 0
gitutil.Setup()