bin/cloud-add-access in auser-poolparty-0.2.89 vs bin/cloud-add-access in auser-poolparty-0.2.90
- old
+ new
@@ -8,10 +8,10 @@
opts.on('-i num', '--id num', 'Instance num to ssh (default: 0)') { |i| optioner.num i }
end
@instance_number = (o.num || 0 ).to_i
-if o.unflagged_args.length == 1
+if o.unflagged_args.length > 1
@file = o.unflagged_args.pop
else
puts header("Error")
puts "usage: \nUsage: cloud [options] add-access file\n\n"
end
\ No newline at end of file