summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-selftest
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/bin/bitbake-selftest
parentb0bf00125192a72cb1630494a4a53a71b492287f (diff)
downloadpoky-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/bin/bitbake-selftest')
-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 8c55f7ba15..81e4c3c05d 100755
--- a/bitbake/bin/bitbake-selftest
+++ b/bitbake/bin/bitbake-selftest
@@ -26,7 +26,7 @@ except RuntimeError as exc:
26 sys.exit(str(exc)) 26 sys.exit(str(exc))
27 27
28def usage(): 28def usage():
29 print('usage: %s [testname1 [testname2]...]') 29 print('usage: %s [testname1 [testname2]...]' % os.path.basename(sys.argv[0]))
30 30
31if len(sys.argv) > 1: 31if len(sys.argv) > 1:
32 if '--help' in sys.argv[1:]: 32 if '--help' in sys.argv[1:]: