commit dc6a46bda347f64ee8ba0df4b0fa0cb0934de628 parent f56c4c7ac662b8c30db74e184b723ced4609256a Author: Sven Möller <sven-moeller@outlook.de> Date: Tue, 14 Dec 2021 18:26:40 +0100 Make more robust Diffstat:
M | bin/.local/bin/bm | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/.local/bin/bm b/bin/.local/bin/bm @@ -104,5 +104,6 @@ case "$1" in add) add "$2" ;; s|sync) sync ;; git) "$@" ;; - *) add "$1" "$2" ;; + http://*|https://*) add "$1" "$2" ;; + *) help "$0" ;; esac