diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/trees | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/trees b/script/trees index 66cc76ef..ccd45d19 100755 --- a/script/trees +++ b/script/trees @@ -31,6 +31,7 @@ main() -n) mode="nconfig" ;; *) $err "invalid option '-$option'" ;; esac + [ -n "${OPTARG+x}" ] || $err "OPTARG not set" project="${OPTARG#src/}"; shift 2 done [ -z "$_f" ] && $err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)" |