<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,8 +3,8 @@
 require File.expand_path(
     File.join(File.dirname(__FILE__), '..', 'lib', 'britify'))
 
-# Britify::CommandLineParser.new(ARGV)
-# exit
+parser = Britify::CommandLineParser.new(ARGV)
+words = parser.words
 
 if ARGV.empty?
   puts &quot;Translate American terms into British&quot;
@@ -14,11 +14,10 @@ end
 
 begin
   translator = Britify::Translate.new
-  translation = translator.translate( ARGV.join(&quot; &quot;), :reverse )
+  translation = translator.translate( words.join(&quot; &quot;), :reverse )
+  puts &quot;\&quot;#{words.join(&quot; &quot;)}\&quot; =&gt; \&quot;#{translation}\&quot;&quot;
 rescue
   puts &quot;Hell no!  There's nothing like that in British!&quot;
 end
 
-puts translation
-
 # EOF</diff>
      <filename>bin/britify</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,9 @@
 require File.expand_path(
     File.join(File.dirname(__FILE__), '..', 'lib', 'britify'))
 
+parser = Britify::CommandLineParser.new(ARGV)
+words = parser.words
+
 if ARGV.empty?
   puts &quot;Translate British terms into American&quot;
   puts &quot;  Usage:   yankify british words&quot;
@@ -11,11 +14,10 @@ end
 
 begin
   translator = Britify::Translate.new
-  translation = translator.translate( ARGV.join(&quot; &quot;) )
+  translation = translator.translate( words.join(&quot; &quot;) )
+  puts &quot;\&quot;#{words.join(&quot; &quot;)}\&quot; =&gt; \&quot;#{translation}\&quot;&quot;
 rescue
   puts &quot;On yer bike!  There's nothing like that in American!&quot;
 end
 
-puts translation
-
 # EOF</diff>
      <filename>bin/yankify</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,13 @@
 module Britify
   class CommandLineParser
-    def initialize(*args)
-      
+    attr_reader :arguments
+    
+    def initialize(args)
+      @arguments = args.flatten
+    end
+    
+    def words
+      return @arguments
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/britify/parser/command_line_parser.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5f8596b9231e4ac0f220bec2f522d50abcb9b2e8</id>
    </parent>
  </parents>
  <author>
    <name>Jamie van Dyke</name>
    <email>jvandyke@engineyard.com</email>
  </author>
  <url>http://github.com/fearoffish/britify/commit/6708ba4a833d5daf213a7917f3e0bdf835ebd052</url>
  <id>6708ba4a833d5daf213a7917f3e0bdf835ebd052</id>
  <committed-date>2008-07-30T20:48:36-07:00</committed-date>
  <authored-date>2008-07-30T20:48:36-07:00</authored-date>
  <message>command line parsing done separately now in case I want to do something funky later</message>
  <tree>849513325176de0a8473ee6bfce25ef275413386</tree>
  <committer>
    <name>Jamie van Dyke</name>
    <email>jvandyke@engineyard.com</email>
  </committer>
</commit>
