bin/cloud66_agent in cloud66_agent-1.1.2.beta1 vs bin/cloud66_agent in cloud66_agent-1.1.2.beta2
- old
+ new
@@ -49,10 +49,10 @@
OptionParser.new do |opts|
opts.on('--api-url [URL]', 'API URL') { |v| $config.api_url = v }
opts.on('--api-key API_KEY', 'API key') { |v| $config.api_key = v }
opts.on('--secret-key SECRET_KEY', 'Secret key') { |v| $config.secret_key = v }
opts.on('--server-uid SERVER_UID', 'Server UID') { |v| @server_uid = v }
- opts.on('--cloud', 'Internal IP sourcing') { |v| cloud = v }
+ opts.on('--cloud CLOUD', 'Internal IP sourcing') { |v| cloud = v }
end.order!
Cloud66Agent.configure(@server_uid, cloud)
elsif command == 'job_start'
OptionParser.new do |opts|
opts.on('--job-uid JOB_UID', 'Job UID') { |v| @job_uid = v }