mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Add help command to appflow commands
This commit is contained in:
1 parent
516a1ebaea
commit
9600f9204d
2 files changed
+4
-1
No files matched your search
@@ -317,6 +317,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
|
||||
set :option, Service::DEFAULT_OPTIONS
|
||||
set :option, CommandParser::VERSION
|
||||
set :option, CommandParser::HELP
|
||||
|
||||
#
|
||||
# Formatters for arguments
|
||||
@@ -594,7 +595,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
batch_action_desc = <<-EOT.unindent
|
||||
Changes the service permissions
|
||||
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 do
|
||||
|
||||
@@ -153,6 +153,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
|
||||
set :option, Service::DEFAULT_OPTIONS
|
||||
set :option, CommandParser::VERSION
|
||||
set :option, CommandParser::HELP
|
||||
|
||||
#
|
||||
# Formatters for arguments
|
||||
|
||||
Reference in new issue
Block a user