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 11:11:05 +0100 |
commit | 921592026c69287cdb40ffd90944d5944f28e2c3 (patch) | |
tree | ae4bdb90ea7d107f1c629f6bd3d74694d86b77f7 /lib/bb | |
parent | 824e73e0f3eaa96b4d84da7e31f9a17ce5c5d7ee (diff) | |
download | bitbake-921592026c69287cdb40ffd90944d5944f28e2c3.tar.gz |
main: Improve -v and -D option documentation
Expanded and clarify documentation for the -v, --verbose and -D, --debug
options.
[YOCTO #9962]
Signed-off-by: Diana Thayer <garbados@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb')
-rwxr-xr-x | lib/bb/main.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/bb/main.py b/lib/bb/main.py index b3cd2cfe2..8c948c2c1 100755 --- a/lib/bb/main.py +++ b/lib/bb/main.py @@ -174,10 +174,21 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): help="Read the specified file after bitbake.conf.") parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, - help="Output more log message data to the terminal.") + help="Enable tracing of shell tasks (with 'set -x'). " + "Also print bb.note(...) messages to stdout (in " + "addition to writing them to ${T}/log.do_<task>).") parser.add_option("-D", "--debug", action="count", dest="debug", default=0, - help="Increase the debug level. You can specify this more than once.") + help="Increase the debug level. You can specify this " + "more than once. -D sets the debug level to 1, " + "where only bb.debug(1, ...) messages are printed " + "to stdout; -DD sets the debug level to 2, where " + "both bb.debug(1, ...) and bb.debug(2, ...) " + "messages are printed; etc. Without -D, no debug " + "messages are printed. Note that -D only affects " + "output to stdout. All debug messages are written " + "to ${T}/log.do_taskname, regardless of the debug " + "level.") parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0, help="Output less log message data to the terminal. You can specify this more than once.") |