From 9600f9204d82f3415656451c6b8a36166f835fb7 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 7 Jun 2013 13:07:51 +0200 Subject: [PATCH] Add help command to appflow commands --- flow/client/bin/appflow | 4 +++- flow/client/bin/appflow-template | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flow/client/bin/appflow b/flow/client/bin/appflow index 57129ef953..2302ff38a9 100755 --- a/flow/client/bin/appflow +++ b/flow/client/bin/appflow @@ -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 diff --git a/flow/client/bin/appflow-template b/flow/client/bin/appflow-template index 5811a6fc88..53328deae1 100755 --- a/flow/client/bin/appflow-template +++ b/flow/client/bin/appflow-template @@ -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