lib/akamai_ccu/cli.rb in akamai_ccu-1.3.0 vs lib/akamai_ccu/cli.rb in akamai_ccu-1.3.1
- old
+ new
@@ -67,10 +67,10 @@
opts.on("-uURL", "--url=URL", "Specify contents by URLs") do |objects|
@objects = objects.split(",").map(&:strip)
end
opts.on("-bBULK", "--bulk=BULK", "Specify bulk contents in a file") do |bulk|
- @objects = bulk_objects(bulk)
+ @objects = bulk_objects(File.expand_path(bulk))
end
opts.on("--headers=HEADERS", "Specify HTTP headers to sign") do |headers|
@headers = headers.split(",").map(&:strip)
end