Fix calling of the hypo help command

This commit is contained in:
Tom Willemse 2014-04-27 01:44:50 +02:00
parent 0812431604
commit d3f6ba5ca5

4
hypo
View file

@ -30,7 +30,7 @@ function help_send
function cmd_send
{
if [[ -z "$1" ]]; then
help "send"
cmd_help "send"
exit 1
fi
@ -61,7 +61,7 @@ function help_rm
function cmd_rm
{
if [[ -z "$1" ]]; then
help "rm"
cmd_help "rm"
exit 1
fi
curl -XDELETE "$URL/$1"