diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-08-12 11:40:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 09:33:10 +0100 |
commit | 62a2e0aa1ac8a459928d1f72783b6ca9c1756350 (patch) | |
tree | ca04f458d0e6df2dcd2327e233d1f96dadc25c0a /bin/bitbake-layers | |
parent | 84f20eb874e7e0ae59bc76883ba9698b0cfcdb6b (diff) | |
download | bitbake-62a2e0aa1ac8a459928d1f72783b6ca9c1756350.tar.gz |
bitbake-layers: show help with no command specified
Instead of running show_appends when no command is specified, show the
default help text. Running show_appends by default made sense previously
when that was the only real command provided, but now we have several
useful commands implemented.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-layers')
-rwxr-xr-x | bin/bitbake-layers | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers index 0900d001f..2845ae5f2 100755 --- a/bin/bitbake-layers +++ b/bin/bitbake-layers @@ -2,9 +2,7 @@ # This script has subcommands which operate against your bitbake layers, either # displaying useful information, or acting against them. -# Currently, it only provides a show_appends command, which shows you what -# bbappends are in effect, and warns you if you have appends which are not being -# utilized. +# See the help output for details on available commands. import cmd import logging @@ -23,7 +21,6 @@ from bb.cooker import state logger = logging.getLogger('BitBake') -default_cmd = 'show_appends' def main(args): @@ -34,7 +31,7 @@ def main(args): if args: cmds.onecmd(' '.join(args)) else: - cmds.onecmd(default_cmd) + cmds.do_help('') return cmds.returncode |