Fix a typo on the binary help command #151

Merged
merged 1 commit into from Sep 7, 2012
View
2 bin/httparty 100644 → 100755
@@ -38,7 +38,7 @@ OptionParser.new do |o|
end
end
- o.on("-H", "--header [NAME=VALUE]", "Additional HTTP headers in NAME=VALUE form") do |h|
+ o.on("-H", "--header [NAME:VALUE]", "Additional HTTP headers in NAME:VALUE form") do |h|
abort "Invalid header specification, should be Name:Value" unless h =~ /.+:.+/
name, value = h.split(':')
opts[:headers][name.strip] = value.strip