mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #1853: Rename command batch-action to action
This commit is contained in:
1 parent
3f6573b5aa
commit
1edc425e42
1 file changed
+2
-2
@@ -607,12 +607,12 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
}
|
||||
end
|
||||
|
||||
batch_action_desc = <<-EOT.unindent
|
||||
action_desc = <<-EOT.unindent
|
||||
Perform an action on all the Virtual Machines of a given role.
|
||||
Actions supported: #{Role::SCHEDULE_ACTIONS.join(",")}
|
||||
EOT
|
||||
|
||||
command :"batch-action", batch_action_desc, :service_id, :role_name, :vm_action,
|
||||
command :"action", action_desc, :service_id, :role_name, :vm_action,
|
||||
:options => [Service::PERIOD, Service::NUMBER] do
|
||||
|
||||
client = Service::Client.new(
|
||||
|
||||
Reference in new issue
Block a user