tweak error message
This commit is contained in:
parent
7215e08846
commit
4983331385
|
@ -753,8 +753,8 @@ def main(builder=None):
|
||||||
elif opt in ('-f', '--file'):
|
elif opt in ('-f', '--file'):
|
||||||
srcdst = arg.split(':')
|
srcdst = arg.split(':')
|
||||||
if len(srcdst) != 2:
|
if len(srcdst) != 2:
|
||||||
usage("-f or --file argument must be an absolute path and "
|
usage("-f or --file argument must be two paths, "
|
||||||
"a relative path, separated by a colon")
|
"separated by a colon")
|
||||||
builder.files.append(srcdst)
|
builder.files.append(srcdst)
|
||||||
elif opt in ('-e', '--executable'):
|
elif opt in ('-e', '--executable'):
|
||||||
builder.executable = arg
|
builder.executable = arg
|
||||||
|
|
Loading…
Reference in New Issue