Fix calling of the hypo help command
This commit is contained in:
parent
0812431604
commit
d3f6ba5ca5
1 changed files with 2 additions and 2 deletions
4
hypo
4
hypo
|
@ -30,7 +30,7 @@ function help_send
|
||||||
function cmd_send
|
function cmd_send
|
||||||
{
|
{
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
help "send"
|
cmd_help "send"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ function help_rm
|
||||||
function cmd_rm
|
function cmd_rm
|
||||||
{
|
{
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
help "rm"
|
cmd_help "rm"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
curl -XDELETE "$URL/$1"
|
curl -XDELETE "$URL/$1"
|
||||||
|
|
Loading…
Reference in a new issue