From 169f040ffd8f238a6ed6516fe540d1643a1b0406 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 3 Jun 2010 12:11:51 +0200 Subject: remove -d, add uploadtocpan --- bin/http-console | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/http-console b/bin/http-console index 1fd4fd3..25aaad8 100644 --- a/bin/http-console +++ b/bin/http-console @@ -39,7 +39,7 @@ while (defined(my $in = $term->readline($prompt))) { ($content, $result) = $http_console->anonymous; say $result->content; } - elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s\-d\s(.*))$/) { + elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s(.*))$/) { my $method = $1; my $path = $2; my $data = $3; -- cgit 1.4.1