diff options
| author | Leah Rowe <leah@libreboot.org> | 2025-04-11 14:17:12 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2025-04-11 14:24:19 +0100 | 
| commit | 947c3e1a1766eb67d07a4d529fc20269ad71bee3 (patch) | |
| tree | f7842bc5d53fd84ae3d0ad211102a023fd2a3a10 | |
| parent | edbbde0b12d55b1277ed41ef0fcd15c287270f43 (diff) | |
trees: err if no argument given
We were already covering this from the main build
script, but it's good to also check it here.
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rwxr-xr-x | script/trees | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/script/trees b/script/trees index 306f189f..f224f94f 100755 --- a/script/trees +++ b/script/trees @@ -24,6 +24,8 @@ mode="all" # make all  main()  { +	[ $# -lt 1 ] && $err "No argument provided" +  	while getopts f:b:m:u:c:x:s:l:n:d: option; do  		[ -n "$_f" ] && $err "only one flag is permitted"  		_f="$1" | 
