Method: Commands::Update#options

Defined in:
lib/commands/plugin.rb

#optionsObject



807
808
809
810
811
812
813
814
815
816
# File 'lib/commands/plugin.rb', line 807

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