summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-04-08 16:49:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-09 14:31:14 +0100
commit68ec4c1d1a115a6e6c44f3b79952ade7fef00762 (patch)
treed15072e8b86fbe8091ebf1949d1c9fd0dfdd2093 /bitbake
parentb0bf00125192a72cb1630494a4a53a71b492287f (diff)
downloadast2050-yocto-poky-68ec4c1d1a115a6e6c44f3b79952ade7fef00762.zip
ast2050-yocto-poky-68ec4c1d1a115a6e6c44f3b79952ade7fef00762.tar.gz
bitbake: bitbake-selftest: fix help message to include command line
(Bitbake rev: 3016af554d9cc67aec2429b96d8d085b88315e77) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-selftest b/bitbake/bin/bitbake-selftest
index 8c55f7b..81e4c3c 100755
--- a/bitbake/bin/bitbake-selftest
+++ b/bitbake/bin/bitbake-selftest
@@ -26,7 +26,7 @@ except RuntimeError as exc:
sys.exit(str(exc))
def usage():
- print('usage: %s [testname1 [testname2]...]')
+ print('usage: %s [testname1 [testname2]...]' % os.path.basename(sys.argv[0]))
if len(sys.argv) > 1:
if '--help' in sys.argv[1:]:
OpenPOWER on IntegriCloud