fix args
This commit is contained in:
@@ -242,14 +242,13 @@ fi
|
||||
}
|
||||
|
||||
[[ "$CMD" = delete ]] && {
|
||||
if [[ -z "$NAME" ]]; then
|
||||
if [[ -z "$FILE" ]]; then
|
||||
echo Missing key / file name
|
||||
_simple_list | sed 's,^'${ROOTURL}/',,'
|
||||
echo Add secret key as argument
|
||||
_simple_list
|
||||
exit
|
||||
fi
|
||||
|
||||
_delete "$NAME"
|
||||
_delete "$FILE"
|
||||
exit $?
|
||||
}
|
||||
[[ "$CMD" = write ]] && {
|
||||
|
||||
Reference in New Issue
Block a user