summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-22 03:55:04 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-22 13:46:20 +0100
commitc1527b6114e94530c50b00ff22ef03ea048e4bd1 (patch)
tree3271169681296318ccfac13c673bc499cbc4e4c0 /script/trees
parentfc7ae3e5903c176584cfefd6d3cf4c1549c4eaaa (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
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