<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,6 +14,8 @@ SYNOPSIS
            'Show all tickets'){|v| list_all(bin) }
     bin.on('-s', '--status STATUS',
            'Show tickets by status'){|v| list_status(bin, v) }
+    bin.on('-t', '--tags tag1,tag2,...', Array,
+           'Show tickets with these tags'){|v| list_tags(bin, *v) }
   end
 
   def run(bin, options)
@@ -45,6 +47,19 @@ SYNOPSIS
     exit
   end
 
+  def list_tags(bin, *tags)
+    bin.repo.milestones.each do |milestone|
+      print_milestone(milestone)
+
+      milestone.tickets.each do |ticket|
+        next if (ticket.tags &amp; tags).empty?
+        print_ticket(ticket)
+      end
+    end
+
+    exit
+  end
+
   def print_milestone(milestone)
     puts &quot;Milestone: #{milestone.tick_name}&quot;
   end</diff>
      <filename>lib/tick/bin/list.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,10 @@ module Tick::Bin::Set
 
   def parser(bin, opt)
     bin.on('-s', '--status STATUS'){|v| opt[:status] = v }
+    bin.on('-n', '--name STRING'){|v| opt[:name] = v }
+    bin.on('-d', '--description STRING'){|v| opt[:description] = v }
+    bin.on('-t', '--tags tag1,tag2,...', Array){|v| opt[:tags] = v }
+    bin.on('-a', '--author STRING'){|v| opt[:author] = v }
   end
 
   def run(bin, options)</diff>
      <filename>lib/tick/bin/set.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7e385612faee9b19ac6c6c2c9c5ac846a92453b6</id>
    </parent>
  </parents>
  <author>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </author>
  <url>http://github.com/manveru/tick/commit/15b42bd9695025fb1fd290cd58374fe757a7f4db</url>
  <id>15b42bd9695025fb1fd290cd58374fe757a7f4db</id>
  <committed-date>2009-05-27T01:19:11-07:00</committed-date>
  <authored-date>2009-05-27T01:19:11-07:00</authored-date>
  <message>Beef up listing and setting</message>
  <tree>87724aa6700bbd542aa2db3fea96166adba0ad8f</tree>
  <committer>
    <name>Michael Fellinger</name>
    <email>m.fellinger@gmail.com</email>
  </committer>
</commit>
