summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDiana Thayer <garbados@gmail.com>2017-03-21 13:27:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 20:23:19 +0100
commit71e48a361731dda62a05c8ef79691b80a3561596 (patch)
tree7197a9419fc28ca55a81c3ca211a71fb52c921cb /bitbake
parent542eb4731cd491c23e30689e5c8c0da91ba4bb44 (diff)
downloadpoky-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')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml16
-rwxr-xr-xbitbake/lib/bb/main.py15
2 files changed, 26 insertions, 5 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index 7248a0bf4e..5bbfc67f7b 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -504,9 +504,19 @@
504 Read the specified file before bitbake.conf. 504 Read the specified file before bitbake.conf.
505 -R POSTFILE, --postread=POSTFILE 505 -R POSTFILE, --postread=POSTFILE
506 Read the specified file after bitbake.conf. 506 Read the specified file after bitbake.conf.
507 -v, --verbose Output more log message data to the terminal. 507 -v, --verbose Enable tracing of shell tasks (with 'set -x').
508 -D, --debug Increase the debug level. You can specify this more 508 Also print bb.note(...) messages to stdout (in
509 than once. 509 addition to writing them to ${T}/log.do_<task>).
510 -D, --debug Increase the debug level. You can specify this
511 more than once. -D sets the debug level to 1,
512 where only bb.debug(1, ...) messages are printed
513 to stdout; -DD sets the debug level to 2, where
514 both bb.debug(1, ...) and bb.debug(2, ...)
515 messages are printed; etc. Without -D, no debug
516 messages are printed. Note that -D only affects
517 output to stdout. All debug messages are written
518 to ${T}/log.do_taskname, regardless of the debug
519 level.
510 -n, --dry-run Don't execute, just go through the motions. 520 -n, --dry-run Don't execute, just go through the motions.
511 -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER 521 -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
512 Dump out the signature construction information, with 522 Dump out the signature construction information, with
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.")