lib/rim/command/sync.rb in esr-rim-1.2.0 vs lib/rim/command/sync.rb in esr-rim-1.2.1

- old
+ new

@@ -25,21 +25,21 @@ @create = true end opts.on("-a", "--all", "Collects all modules from the specified paths.") do @all = true end - opts.on("-e", "--exclude=[PATTERN_LIST]", String, "Exclude all modules of a comma separated list of directories when using sync with -a option.") do |dirlist| + opts.on("-e", "--exclude PATTERN_LIST", String, "Exclude all modules of a comma separated list of directories when using sync with -a option.") do |dirlist| @excludedirs = dirlist.split(",") end @module_options = {} opts.on("-u", "--remote-url URL", String, "Set the remote URL of the module.", \ "A relative path will be applied to ssh://gerrit/") do |url| @module_options[:remote_url] = url end opts.on("-r", "--target-revision REVISION", String, "Set the target revision of the module.") do |target_revision| @module_options[:target_revision] = target_revision end - opts.on("-i", "--ignore=[PATTERN_LIST]", String, "Set the ignore patterns by specifying a comma separated list.") do |ignores| + opts.on("-i", "--ignore PATTERN_LIST", String, "Set the ignore patterns by specifying a comma separated list.") do |ignores| @module_options[:ignores] = ignores || "" end opts.on("-m", "--message MESSAGE", String, "Message header to provide to each commit.") do |message| @message = message end