summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 20:07:01 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-14 12:25:06 +0000
commit568409faa1e0735467f08fc1bff0c925c8bf80c5 (patch)
treeb8169364ca1ab70c639196193b33c7d1a4c303c1 /bitbake/lib/bb/main.py
parent3fa98e19d5817ae7cf9607e4cda9cf2a808c320d (diff)
downloadpoky-568409faa1e0735467f08fc1bff0c925c8bf80c5.tar.gz
bitbake: knotty: make quiet option a level option
Allow you to specify -q / --quiet more than once to reduce the messages even further. It will now operate as follows: Level Option Result ----- ------ ---------------------------------------- 0 Print usual output 1 -q Only show progress and warnings or above 2 -qq Only show warnings or above 3+ -qqq Only show errors (Bitbake rev: 6cf2582e17c28ca04f5cfb59858c4a9778c700d4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index f2f59f670a..a544c0aecb 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -179,8 +179,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
179 parser.add_option("-D", "--debug", action="count", dest="debug", default=0, 179 parser.add_option("-D", "--debug", action="count", dest="debug", default=0,
180 help="Increase the debug level. You can specify this more than once.") 180 help="Increase the debug level. You can specify this more than once.")
181 181
182 parser.add_option("-q", "--quiet", action="store_true", dest="quiet", default=False, 182 parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0,
183 help="Output less log message data to the terminal.") 183 help="Output less log message data to the terminal. You can specify this more than once.")
184 184
185 parser.add_option("-n", "--dry-run", action="store_true", dest="dry_run", default=False, 185 parser.add_option("-n", "--dry-run", action="store_true", dest="dry_run", default=False,
186 help="Don't execute, just go through the motions.") 186 help="Don't execute, just go through the motions.")