Skip to content
Browse files

Merge pull request #151 from pcasaretto/binary-typo

Fix a typo on the binary help command
  • Loading branch information...
2 parents eabf8d0 + 14f2c54 commit 892397d7be0e133c93c9c83caaf19a4bfa5aa015 @jnunemaker committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/httparty
2 bin/httparty
@@ -38,7 +38,7 @@ do |o|
- 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

0 comments on commit 892397d

Please sign in to comment.
Something went wrong with that request. Please try again.