Method: Coherent::Commands::Update#options
- Defined in:
- lib/plugin/commands/update.rb
#options ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/plugin/commands/update.rb', line 10 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 |