Method: Commands::Update#options
- Defined in:
- lib/commands/plugin.rb
#options ⇒ Object
807 808 809 810 811 812 813 814 815 816 |
# File 'lib/commands/plugin.rb', line 807 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "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 |