Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a typo on the binary help command

  • Loading branch information...
commit 14f2c54dc8283c2530880428a0ff1c34a899e1c3 1 parent 9c08f47
@pcasaretto pcasaretto authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/httparty
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
Please sign in to comment.
Something went wrong with that request. Please try again.