Skip to content

Commit

Permalink
Joined the argv array so that one does not have to use quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin VanDyck committed Aug 1, 2008
1 parent 615d168 commit 711aa58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/tweet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

abort("Usage: tweet 'command'") unless ARGV.length == 1
abort("Usage: tweet 'command'") unless ARGV.length > 1

require File.dirname(__FILE__)+'/../lib/tweet'

Tweet.create_status(ARGV.first)
Tweet.create_status(ARGV.join(' '))

0 comments on commit 711aa58

Please sign in to comment.