1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix the json output

This commit is contained in:
geemus (Wesley Beary) 2010-03-28 17:53:53 -07:00
parent bc554bd312
commit 7c65e8924f

View file

@ -17,7 +17,7 @@ require File.join(lib_dir, 'fog', 'slicehost', 'bin')
require File.join(lib_dir, 'fog', 'terremark', 'bin')
if ARGV.length > 1
p instance_eval(ARGV[1..-1].join(' ')).to_json
print(instance_eval(ARGV[1..-1].join(' ')).to_json)
else
ARGV.clear # Avoid passing args to IRB