diff options
| author | Leah Rowe <leah@libreboot.org> | 2024-06-27 02:33:45 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2024-06-27 02:33:45 +0100 | 
| commit | a64e2db5899540bfcfff417fc407befd9daf364f (patch) | |
| tree | 034bf18c7f15783fe09192c4a40361637fc3dbdc /script/trees | |
| parent | 0e97e98fe16baa2ac1c8b17bd054fd697e22f956 (diff) | |
trees: call err if multiple flags are provided
this script is designed to only run a single flag.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
| -rwxr-xr-x | script/trees | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/script/trees b/script/trees index c3391f58..38674759 100755 --- a/script/trees +++ b/script/trees @@ -17,6 +17,7 @@ eval `setvars "" xarch cdir config config_name xlang mode makeargs \  main()  {  	while getopts f:b:m:u:c:x:s:l:n: option; do +		[ -n "$_f" ] && $err "only one flag is permitted"  		_f="$1"  		case "$1" in  		-b) mode="" ;; | 
