Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2019-06-03 02:21:56 +03:00
parent 639a97f43e
commit 47fe62a7c8

14
ufw
View File

@ -388,8 +388,18 @@ main() {
done done
case "${action:-upload}" in case "${action:-upload}" in
upload) upload "$1";; upload)
url) get_shortlink "$1";; for t in "$@"; do
upload "$t"
done
;;
url)
for t in "$@"; do
get_shortlink "$1"
done
;;
getmyip) get_my_ip;; getmyip) get_my_ip;;
login) login;; login) login;;
esac esac