add usage/help to resource command
git-svn-id: file:///home/svn/framework3/trunk@6101 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4b34d5a8b1
commit
f6fd33a3eb
|
@ -107,6 +107,12 @@ class Core
|
|||
end
|
||||
|
||||
def cmd_resource(*args)
|
||||
if args.empty?
|
||||
print(
|
||||
"Usage: resource <path>\n\n" +
|
||||
"Run the commands stored in the supplied file.\n")
|
||||
return false
|
||||
end
|
||||
driver.load_resource(*args)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue