commit 97a8d7bd7588a1b0015d2e7fe7c6a8b48f03d0b7 parent 124b8651dda6ebd2656d19e3c7324751bbab1385 Author: Sven Möller <sven-moeller@outlook.de> Date: Mon, 13 Dec 2021 17:15:07 +0100 Formating Diffstat:
M | bin/.local/bin/bm | | | 29 | ++++++++++------------------- |
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/bin/.local/bin/bm b/bin/.local/bin/bm @@ -88,23 +88,14 @@ help () { [ -z "$1" ] && help "$0" && exit 1 case $1 in - a) archive "$2" - ;; - d|del) delete "$2" - ;; - l|list) list - ;; - la) list "$archive_file" - ;; - o|open) open "$2" - ;; - i) interactive - ;; - ia) interactive "$archive_file" "$urls_file" - ;; - add) add "$2" - ;; - git) "$@" - ;; - *) add "$1" "$2" + a) archive "$2" ;; + d|del) delete "$2" ;; + l|list) list ;; + la) list "$archive_file" ;; + o|open) open "$2" ;; + i) interactive ;; + ia) interactive "$archive_file" "$urls_file" ;; + add) add "$2" ;; + git) "$@" ;; + *) add "$1" "$2" ;; esac