aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"