diff options
author | Diana Thayer <garbados@gmail.com> | 2017-03-21 13:27:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 20:23:19 +0100 |
commit | 71e48a361731dda62a05c8ef79691b80a3561596 (patch) | |
tree | 7197a9419fc28ca55a81c3ca211a71fb52c921cb /bitbake/lib/bb/main.py | |
parent | 542eb4731cd491c23e30689e5c8c0da91ba4bb44 (diff) | |
download | poky-71e48a361731dda62a05c8ef79691b80a3561596.tar.gz |
bitbake: main: Improve -v and -D option documentation
Expanded and clarify documentation for the -v, --verbose and -D, --debug
options.
[YOCTO #9962]
(Bitbake rev: 921592026c69287cdb40ffd90944d5944f28e2c3)
Signed-off-by: Diana Thayer <garbados@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index b3cd2cfe20..8c948c2c15 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -174,10 +174,21 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): | |||
174 | help="Read the specified file after bitbake.conf.") | 174 | help="Read the specified file after bitbake.conf.") |
175 | 175 | ||
176 | parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, | 176 | parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, |
177 | help="Output more log message data to the terminal.") | 177 | help="Enable tracing of shell tasks (with 'set -x'). " |
178 | "Also print bb.note(...) messages to stdout (in " | ||
179 | "addition to writing them to ${T}/log.do_<task>).") | ||
178 | 180 | ||
179 | parser.add_option("-D", "--debug", action="count", dest="debug", default=0, | 181 | parser.add_option("-D", "--debug", action="count", dest="debug", default=0, |
180 | help="Increase the debug level. You can specify this more than once.") | 182 | help="Increase the debug level. You can specify this " |
183 | "more than once. -D sets the debug level to 1, " | ||
184 | "where only bb.debug(1, ...) messages are printed " | ||
185 | "to stdout; -DD sets the debug level to 2, where " | ||
186 | "both bb.debug(1, ...) and bb.debug(2, ...) " | ||
187 | "messages are printed; etc. Without -D, no debug " | ||
188 | "messages are printed. Note that -D only affects " | ||
189 | "output to stdout. All debug messages are written " | ||
190 | "to ${T}/log.do_taskname, regardless of the debug " | ||
191 | "level.") | ||
181 | 192 | ||
182 | parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0, | 193 | parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0, |
183 | help="Output less log message data to the terminal. You can specify this more than once.") | 194 | help="Output less log message data to the terminal. You can specify this more than once.") |