Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #151 from pcasaretto/binary-typo

Fix a typo on the binary help command
  • Loading branch information...
commit 892397d7be0e133c93c9c83caaf19a4bfa5aa015 2 parents eabf8d0 + 14f2c54
@jnunemaker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/httparty
View
2  bin/httparty
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.