From 2dac28b97f08f34f8a348708c0c62bb2bd116cb3 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Mon, 23 Aug 2021 16:46:27 +0200 Subject: [PATCH] options printout on wrong bt edit --- bt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt b/bt index f56e295..9e6dbfb 100755 --- a/bt +++ b/bt @@ -58,9 +58,9 @@ if [ "$1" = "edit" ]; then case $2 in "config")${EDITOR:-vim} "$CONFIG";; "paired")${EDITOR:-vim} "$PAIRLIST";; - "blacklist")${EDITOR:-vim} "$BLACKLIST";; "alias")${EDITOR:-vim} "$ALIASLIST";; - *)true;; + "blacklist")${EDITOR:-vim} "$BLACKLIST";; + *)echo "options: config/paired/alias/blacklist" && exit 1;; esac exit fi