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>
This commit is contained in:
Paul Eggleton 2014-04-08 16:49:54 +01:00 committed by Richard Purdie
parent b0bf001251
commit 68ec4c1d1a
1 changed files with 1 additions and 1 deletions

View File

@ -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:]: