aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-27 01:44:50 +0200
committerGravatar Tom Willemse2014-04-27 01:44:50 +0200
commitd3f6ba5ca5f23834d2a97bbc7b137ac52dbfce3e (patch)
tree5270e8024d8037b56315ca7cf2afd5a54e8bd3f1
parent081243160453ef3c21321c1bd0a5fb491126e496 (diff)
downloadhypo-cli-d3f6ba5ca5f23834d2a97bbc7b137ac52dbfce3e.tar.gz
hypo-cli-d3f6ba5ca5f23834d2a97bbc7b137ac52dbfce3e.zip
Fix calling of the hypo help command
-rwxr-xr-xhypo4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypo b/hypo
index 94924bb..aa7da11 100755
--- a/hypo
+++ b/hypo
@@ -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"