diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 16 | ||||
-rwxr-xr-x | bitbake/lib/bb/main.py | 15 |
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.") |