mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2026-01-27 11:01:24 +01:00
scripts: Fix help text and program name
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
316e0629f9
commit
806957b392
|
|
@ -15,7 +15,7 @@ import errno
|
|||
import utils
|
||||
|
||||
if len(sys.argv) != 3:
|
||||
print("Incorrect number of parameters, please call as %s repo.json")
|
||||
print("Incorrect number of parameters, please call as %s <repo.json> <shared-sources-dir>" % sys.argv[0])
|
||||
sys.exit(1)
|
||||
|
||||
repojson = sys.argv[1]
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import errno
|
|||
import utils
|
||||
|
||||
if len(sys.argv) != 7:
|
||||
print("Incorrect number of parameters, please call as %s <nightly-target> <stepnumber> <target-builddir> <branch-name> <repo-name>")
|
||||
print("Incorrect number of parameters, please call as %s <nightly-target> <stepnumber> <target-builddir> <branch-name> <repo-name> <build-app-srcrev" % sys.argv[0]))
|
||||
sys.exit(1)
|
||||
|
||||
target = sys.argv[1]
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import copy
|
|||
import utils
|
||||
|
||||
if len(sys.argv) != 8:
|
||||
print("Incorrect number of parameters, please call as %s <nightly-target> <stepnumber> <target-builddir> <branch-name> <repo-name>")
|
||||
print("Incorrect number of parameters, please call as %s <nightly-target> <stepnumber> <target-builddir> <branch-name> <repo-name> <sstate-publish-dir> <build-app-srcrev>" % sys.argv[0])
|
||||
sys.exit(1)
|
||||
|
||||
target = sys.argv[1]
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import errno
|
|||
import utils
|
||||
|
||||
if len(sys.argv) != 5:
|
||||
print("Incorrect number of parameters, please call as %s repo.json")
|
||||
print("Incorrect number of parameters, please call as %s repo.json <shared-sources-dir> <autobuilder-workdir> <target>" % sys.argv[0])
|
||||
sys.exit(1)
|
||||
|
||||
repojson = sys.argv[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user