summaryrefslogtreecommitdiffstats
path: root/bin
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:03 +0100
commit3016af554d9cc67aec2429b96d8d085b88315e77 (patch)
tree704f1803b8792c8f66e8d0be17d6fd311b7ee9bb /bin
parent4fafea4fa69542b491e84463f6eae0d5bf645673 (diff)
downloadbitbake-contrib-3016af554d9cc67aec2429b96d8d085b88315e77.tar.gz
bitbake-selftest: fix help message to include command line
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake-selftest b/bin/bitbake-selftest
index 8c55f7ba1..81e4c3c05 100755
--- a/bin/bitbake-selftest
+++ b/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:]: