From 6ba1beb76c31c21ded2aa8a7b231a73847c5b1b7 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 12 Aug 2011 11:40:18 +0100 Subject: 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. (Bitbake rev: 62a2e0aa1ac8a459928d1f72783b6ca9c1756350) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/bin/bitbake-layers | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index 0900d001f8..2845ae5f2e 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/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 -- cgit v1.2.3-54-g00ecf