Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Joined the argv array so that one does not have to use quotes

  • Loading branch information...
commit 711aa580af7238575da8578cd0fdc15e96d9114b 1 parent 615d168
Collin VanDyck authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/tweet
View
4 bin/tweet
@@ -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(' '))
Please sign in to comment.
Something went wrong with that request. Please try again.