Skip to content

Commit

Permalink
Merge pull request #7 from jothirams/master
Browse files Browse the repository at this point in the history
Parsing -c option seperately to avoid prepending with BURL.
  • Loading branch information
tj committed Feb 3, 2013
2 parents 39dfed7 + e91f634 commit 679214c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/burl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ while test $# -ne 0; do
json=$1; shift
args="$args -H 'Content-Type: application/json' -d '$json'"
;;
-c)
cookie=$1; shift
args="$args -c $cookie"
;;
GET|POST|PUT|HEAD|DELETE|OPTIONS|PATCH|TRACE|COPY|LOCK|\
MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK|REPORT|MKACTIVITY|\
CHECKOUT|MERGE|NOTIFY|SUBSCRIBE|UNSUBSCRIBE)
Expand Down

0 comments on commit 679214c

Please sign in to comment.