From c1527b6114e94530c50b00ff22ef03ea048e4bd1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 22 Jun 2024 03:55:04 +0100 Subject: lib.sh: remove badcmd() it's bloat. telling the user to rtfm is something that we already do on irc; they will still ask how to do everything, and ignore the message from badcmd(), or they will automatically know to rtfm. i'm on a massive purge, removing bloat from lbmk as part of Libreboot Build System Audit 6. all bloat must go. Signed-off-by: Leah Rowe --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index 6a3c1ebd..82c3ce84 100755 --- a/script/trees +++ b/script/trees @@ -28,7 +28,7 @@ main() -s) mode="savedefconfig" ;; -l) mode="olddefconfig" ;; -n) mode="nconfig" ;; - *) badcmd "invalid option '-$option'" ;; + *) $err "invalid option '-$option'" ;; esac shift; project="${OPTARG#src/}"; shift done -- cgit v1.2.1