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:
parent
b0bf001251
commit
68ec4c1d1a
|
@ -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:]:
|
||||
|
|
Loading…
Reference in New Issue