Method: Coherent::Commands::Update#options

Defined in:
lib/plugin/commands/update.rb

#optionsObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/plugin/commands/update.rb', line 10

def options
  OptionParser.new do |o|
    o.set_summary_indent('  ')
    o.banner =    "Usage: #{@base_command.script_name} update [name [name]...]"
    o.on(         "-r REVISION", "--revision REVISION",
                  "Checks out the given revision from subversion.",
                  "Ignored if subversion is not used.") { |v| @revision = v }
    o.define_head "Update plugins."
  end
end